FXOpen Broker

10+ years’
experience in FX

VISIT WEBSITE

Trading Accounts

ECN, STP,
Micro, Crypto

START TRADING

Free Demo

Practice Forex trading
risk free

OPEN DEMO ACCOUNT

PAMM Technology

Become a Master
or a Follower

JOIN PAMM SERVICE
Page 266 of 273 FirstFirst ... 166216256262263264265266267268269270 ... LastLast
Results 3,976 to 3,990 of 4092

Thread: Add some futures,fix your MQ4 files (experts,indicators,scripts)

  1. #3976
    Moderator eevviill's Avatar
    Join Date
    Jul 2015
    Location
    Бандерівці
    Posts
    4,830
    Thanks
    1,546
    Thanked 1,732 Times in 1,593 Posts

    Default

    Quote Originally Posted by eevviill View Post
    v1.0
    ___
    v1.1
    https://forum.fxopen.ru.com/threads/...=1#post2520572
    MQL4 programmer

    Volli Correla lines

  2. #3977
    In Profit
    Join Date
    Feb 2017
    Posts
    233
    Thanks
    27
    Thanked 4 Times in 4 Posts

    Default

    I will test it and come back.

  3. #3978
    In Profit
    Join Date
    Feb 2017
    Posts
    233
    Thanks
    27
    Thanked 4 Times in 4 Posts

    Default

    My Guru,
    Thank you for the new indicator. It is not helping me because I am unable to print line labels for 3 MAs as per picture.

    Kindly also make the display text shorter and in the format as per the picture

    TF -MA info - Price in 5 digits (with no decimals)

    Attachment 66117
    Last edited by optionhk; 04-07-2021 at 10:03 AM.

  4. #3979
    Moderator eevviill's Avatar
    Join Date
    Jul 2015
    Location
    Бандерівці
    Posts
    4,830
    Thanks
    1,546
    Thanked 1,732 Times in 1,593 Posts

    Default

    use v1.1
    MQL4 programmer

    Volli Correla lines

  5. The Following User Says Thank You to eevviill For This Useful Post:

    optionhk (04-07-2021)

  6. #3980
    In Profit
    Join Date
    Feb 2017
    Posts
    233
    Thanks
    27
    Thanked 4 Times in 4 Posts

    Default

    It is working well.
    Somehow, I am not able to make symbols work. I think I am not inputting properly. If you can just show how to input multi symbols, that will be great.

    1. Is it possible to make the EA enter and exit for each of 3 different work time with different TP and SL and TF to exit.
    2. A close all button on the chart will help liquidate all trades immediately.

  7. #3981
    Moderator eevviill's Avatar
    Join Date
    Jul 2015
    Location
    Бандерівці
    Posts
    4,830
    Thanks
    1,546
    Thanked 1,732 Times in 1,593 Posts

    Default

    Quote Originally Posted by optionhk View Post
    It is working well.
    Somehow, I am not able to make symbols work. I think I am not inputting properly. If you can just show how to input multi symbols, that will be great.

    1. Is it possible to make the EA enter and exit for each of 3 different work time with different TP and SL and TF to exit.
    2. A close all button on the chart will help liquidate all trades immediately.
    What exectly EA? You can set EA for each TF with different parametrs and Magic numbers.

    you can use ... for meneg orders.
    https://forum.fxopen.ru.com/threads/...=1#post2243072
    MQL4 programmer

    Volli Correla lines

  8. The Following User Says Thank You to eevviill For This Useful Post:

    optionhk (04-12-2021)

  9. #3982
    In Profit
    Join Date
    Feb 2017
    Posts
    233
    Thanks
    27
    Thanked 4 Times in 4 Posts

    Default

    Thank you Guru.
    Since Random EA can execute both Buy and Sell as per percentage selected on hedging platform, if I use smaller TP for Buy then to close Sell Order I have to change TP for Sell Orders for them to close quickly.
    How can I do that?
    Example: EA buys 70% and Sells 30% with TP 10 pips for 10 positions
    After Price go up BUY 70% (7 positions) is in profit while Sell of 30% (3 positions) is in loss of 20 pips or more.
    I now want to change the TP or SL of 3 positions with one action. Not change individuallly.
    How can I do that?
    Changing the TP or SL of Sell Order

  10. #3983
    Moderator eevviill's Avatar
    Join Date
    Jul 2015
    Location
    Бандерівці
    Posts
    4,830
    Thanks
    1,546
    Thanked 1,732 Times in 1,593 Posts

    Default

    I can add stops different for buys and sells orders.
    Is it ok for you?
    MQL4 programmer

    Volli Correla lines

  11. #3984
    Moderator eevviill's Avatar
    Join Date
    Jul 2015
    Location
    Бандерівці
    Posts
    4,830
    Thanks
    1,546
    Thanked 1,732 Times in 1,593 Posts

    Default

    Quote Originally Posted by eevviill View Post
    I can add stops different for buys and sells orders.
    Is it ok for you?
    This will not helps becouse each order has different open prices and buy/sell orders have different close prices.

    Maybe better if I will add function
    If one order closes than other closes too?
    MQL4 programmer

    Volli Correla lines

  12. #3985
    In Profit
    Join Date
    Feb 2017
    Posts
    233
    Thanks
    27
    Thanked 4 Times in 4 Posts

    Default

    1. I think that will not help. Because the change of TP or SL has to be done for control of drawdown. We never know whether Buy will happen first or Sell will happen first. But both will be executed at the same time. So we can't know which one will hit TP first. Nor we can close both together then there will always be a loss. Maybe we can change the exit time, TP or SL for the losing positions after the winning positions are closed.

    2. In the Random EA can you please add a switch for Buy or Sell when the Lot proportion opposite percent is 0.0
    Always Buy
    Always Sell

    3. The same direction switch should also apply if Random Trading is selected as True if Lot proportionate is also 0.0.
    Last edited by optionhk; 04-14-2021 at 08:29 AM.

  13. #3986
    Moderator eevviill's Avatar
    Join Date
    Jul 2015
    Location
    Бандерівці
    Posts
    4,830
    Thanks
    1,546
    Thanked 1,732 Times in 1,593 Posts

    Default

    Always Buy
    Example?
    MQL4 programmer

    Volli Correla lines

  14. #3987
    In Profit
    Join Date
    Feb 2017
    Posts
    233
    Thanks
    27
    Thanked 4 Times in 4 Posts

    Default

    Always Buy mean ONLY buy. and not do two way trade. and select ticks for Buy direction only.
    Always Sell mean ONLY Sell. and not do two-way trade. and select ticks for Sell direction only.
    Last edited by optionhk; 04-14-2021 at 10:57 AM.

  15. #3988
    Moderator eevviill's Avatar
    Join Date
    Jul 2015
    Location
    Бандерівці
    Posts
    4,830
    Thanks
    1,546
    Thanked 1,732 Times in 1,593 Posts

    Default

    Quote Originally Posted by optionhk View Post
    1. I think that will not help. Because the change of TP or SL has to be done for control of drawdown. We never know whether Buy will happen first or Sell will happen first. But both will be executed at the same time. So we can't know which one will hit TP first. Nor we can close both together then there will always be a loss. Maybe we can change the exit time, TP or SL for the losing positions after the winning positions are closed.

    2. In the Random EA can you please add a switch for Buy or Sell when the Lot proportion opposite percent is 0.0
    Always Buy
    Always Sell

    3. The same direction switch should also apply if Random Trading is selected as True if Lot proportionate is also 0.0.
    1) So if there are lose orders and no profit orders than change stops?
    2) Like first_way ?
    MQL4 programmer

    Volli Correla lines

  16. #3989
    In Profit
    Join Date
    Feb 2017
    Posts
    233
    Thanks
    27
    Thanked 4 Times in 4 Posts

    Default

    Sorry my Guru, I confuse you. Both are separate matters.

    1. For losing order I need is drawdown risk management. I can't think of a solution at the moment except managing it manually. I will not trade too many positions which can't be handled manually.
    So I drop the idea to touch EA for handling drawdown.

    2. Buy only or Sell only is for Random Trading when Percentage is 0.0.


    The first way input working well for first trade .

    But want to have Buy or Sell only also for Random trading both when false and true are selected.

  17. #3990
    Moderator eevviill's Avatar
    Join Date
    Jul 2015
    Location
    Бандерівці
    Posts
    4,830
    Thanks
    1,546
    Thanked 1,732 Times in 1,593 Posts

    Default

    v1.02
    always_way
    Attached Files Attached Files
    MQL4 programmer

    Volli Correla lines

  18. The Following User Says Thank You to eevviill For This Useful Post:

    optionhk (04-15-2021)

Page 266 of 273 FirstFirst ... 166216256262263264265266267268269270 ... LastLast

Tags for this Thread

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Disclaimer
2005-2021 © FXOpen All rights reserved. Various trademarks held by their respective owners.

Risk Warning: Trading on the Forex market involves substantial risks, including complete possible loss of funds and other losses and is not suitable for all members. Clients should make an independent judgment as to whether trading is appropriate for them in the light of their financial condition, investment experience, risk tolerance and other factors.

FXOpen Markets Limited, a company duly registered in Nevis under the company No. C 42235. FXOpen is a member of The Financial Commission.

FXOpen AU Pty Ltd., a company authorised and regulated by the Australian Securities & Investments Commission (ASIC). AFSL 412871ABN 61 143 678 719.

FXOpen Ltd. a company registered in England and Wales under company number 07273392 and is authorised and regulated by the Financial Conduct Authority (previously, the Financial Services Authority) under FCA firm reference number 579202.

FXOpen EU is a trading name of FXOpen EU Ltd. FXOpen EU Ltd is authorized and regulated by the Cyprus Securities and Exchange Commission (CySEC) under license number 194/13.

FXOpen does not provide services for United States residents.

Join us