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 257 of 260 FirstFirst ... 157207247253254255256257258259260 LastLast
Results 3,841 to 3,855 of 3891

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

  1. #3841
    In Profit
    Join Date
    Feb 2017
    Posts
    114
    Thanks
    7
    Thanked 1 Time in 1 Post

    Default

    % of lot.
    How to use for hedging broker
    When to buy or when to sell .

    1) Will it be like this:

    Example: 10 lots .

    Open buy 60% positions every 2 seconds 6 times after Minimum Consecutive Candles xxxxx (example 8 times) open when touch High or Close Mode (Any one I select in the indicator)

    Open sell 40% positions every 2 seconds 4 times after Minimum consecutive candles reverse into Down direction and touch Open of the last Buy position.


    2) Close all positions (which not hit TP or SL) at end of a x TF candle.

  2. #3842
    In Profit
    Join Date
    Feb 2017
    Posts
    114
    Thanks
    7
    Thanked 1 Time in 1 Post

    Default

    I see you already coded EA.
    I had written my comments earlier without seeing new version 1.2.
    I will now check 1.2

  3. #3843
    In Profit
    Join Date
    Feb 2017
    Posts
    114
    Thanks
    7
    Thanked 1 Time in 1 Post

    Default

    I checked EA 1.2. Thank you. You have provided updated inputs.

    Now please use the logic of buying AND selling like explained earlier

    Four Examples given in the picture attached.

    One of them is like this:

    Lot_proportion_opposite_percent: 60%
    Maximum Orders: 10
    Data (High Low) or Close
    TF: 15m

    If Position opens at xxxxxx (example: 13955) after touching
    (a) High of TF or Close of TF
    (b) Consecutive Candles (example 5)
    (c) Minimum cycles (example 30)

    then 60% (6 orders) will be bought.

    Exit can be by TP, SL or Chart TF (example H1)

    40% (4 orders) will be sold when direction reverses
    and touches any one of the following

    (a) Low of H1 or Close
    or
    (b) reverts to Price Level of (example :13955)
    then 60%

    If price don't reverse then don't sell or buy and exit by TF,

    https://gofile.io/d/wlV1Eb

  4. #3844
    Moderator eevviill's Avatar
    Join Date
    Jul 2015
    Location
    Бандерівці
    Posts
    4,617
    Thanks
    1,542
    Thanked 1,671 Times in 1,535 Posts

    Default

    Set inputs in EA as you want.
    What do you want from me?
    There are already lots, CoCan,cyc,exits...


    Or all text is just for add new enter rule (open when price cross previous candle X_tf close/Hl)?
    Last edited by eevviill; 02-21-2021 at 02:04 PM.
    MQL4 programmer

    Volli Correla lines

  5. #3845
    In Profit
    Join Date
    Feb 2017
    Posts
    114
    Thanks
    7
    Thanked 1 Time in 1 Post

    Default

    All text is just for add new entry rules.
    Yes.
    Just gave you different examples to clarify the rules.

  6. #3846
    In Profit
    Join Date
    Feb 2017
    Posts
    114
    Thanks
    7
    Thanked 1 Time in 1 Post

    Default

    Existing logic is not working.
    So I chaned the logic rules I want to use. Please just code the open position ruleas as per my pictures.

    This last step will finish EA job.

    Thank you.

  7. #3847
    Moderator eevviill's Avatar
    Join Date
    Jul 2015
    Location
    Бандерівці
    Posts
    4,617
    Thanks
    1,542
    Thanked 1,671 Times in 1,535 Posts

    Default

    Quote Originally Posted by optionhk View Post
    Existing logic is not working.
    So I chaned the logic rules I want to use. Please just code the open position ruleas as per my pictures.

    This last step will finish EA job.

    Thank you.
    v1.21
    ___
    Attached Files Attached Files
    MQL4 programmer

    Volli Correla lines

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

    optionhk (02-23-2021)

  9. #3848
    In Profit
    Join Date
    Feb 2017
    Posts
    114
    Thanks
    7
    Thanked 1 Time in 1 Post

    Default

    I will test and let you know.
    In the meantime, my request is you to put in comment when stopped by Timeframe as two words [TF] .you already putting [tp] and [sl]. pls add this third comment of [tf].
    Thank you again so much.
    You taught me Guru a lot of things for which I am thankful to you.

  10. #3849
    Moderator eevviill's Avatar
    Join Date
    Jul 2015
    Location
    Бандерівці
    Posts
    4,617
    Thanks
    1,542
    Thanked 1,671 Times in 1,535 Posts

    Default

    Quote Originally Posted by optionhk View Post
    I will test and let you know.
    In the meantime, my request is you to put in comment when stopped by Timeframe as two words [TF] .you already putting [tp] and [sl]. pls add this third comment of [tf].
    Thank you again so much.
    You taught me Guru a lot of things for which I am thankful to you.
    I can't change Comment of closed order. sl and tp comment changes by broker.
    I add option to choose color of arrow when order closes by TF.
    PHP Code:
    close_after_candle_color 
    v1.22
    Attached Files Attached Files
    MQL4 programmer

    Volli Correla lines

  11. #3850
    In Profit
    Join Date
    Feb 2017
    Posts
    114
    Thanks
    7
    Thanked 1 Time in 1 Post

    Default

    That is great.
    Thank you.
    I don't understand a few inputs. Kindly explain me. Thanks.
    https://gofile.io/d/T1HS6X

  12. #3851
    Moderator eevviill's Avatar
    Join Date
    Jul 2015
    Location
    Бандерівці
    Posts
    4,617
    Thanks
    1,542
    Thanked 1,671 Times in 1,535 Posts

    Default

    Quote Originally Posted by optionhk View Post
    That is great.
    Thank you.
    I don't understand a few inputs. Kindly explain me. Thanks.
    https://gofile.io/d/T1HS6X
    1. If previous candle High/Low crossed by current close of current candle than buy or sell.
    2. If true than every 30 seconds order will be opened. 5 times.
    3. If=10 than 1.93888 1point will be 1.9388
    4. Oposite exit is a copy of enter rule but in another way
    5. If true than after candle closes orders will be closed.
    6. If true than EA use data from closed candle(previous) if false from current.
    MQL4 programmer

    Volli Correla lines

  13. #3852
    In Profit
    Join Date
    Feb 2017
    Posts
    114
    Thanks
    7
    Thanked 1 Time in 1 Post

    Default

    Thank you very much, my Guru.

    You have added option to choose color of arrow when order closes by TF. But I did not find it happening. Where can I find this option to activate it?

    Rule No 1: If possible , I want to choose buy or sell when previous candle High crossed by curent close of current candle . It is not necessary it has to sell when it hits HIGH.
    Similarly, I want to choose sell or buy when previous candle Low crossed by current close close of current candle. It is not necessary it has to buy when its LOW.

    Please put this rule to give me power to decide direction.

    Thank you,

  14. #3853
    Moderator eevviill's Avatar
    Join Date
    Jul 2015
    Location
    Бандерівці
    Posts
    4,617
    Thanks
    1,542
    Thanked 1,671 Times in 1,535 Posts

    Default

    Quote Originally Posted by optionhk View Post
    Thank you very much, my Guru.

    You have added option to choose color of arrow when order closes by TF. But I did not find it happening. Where can I find this option to activate it?

    Rule No 1: If possible , I want to choose buy or sell when previous candle High crossed by curent close of current candle . It is not necessary it has to sell when it hits HIGH.
    Similarly, I want to choose sell or buy when previous candle Low crossed by current close close of current candle. It is not necessary it has to buy when its LOW.

    Please put this rule to give me power to decide direction.

    Thank you,
    Color works.
    PHP Code:
    close_after_candle true 
    If you want to choose oposite way use
    PHP Code:
    use_reverse_enter_way=true 
    Attached Thumbnails Attached Thumbnails GBPUSDM30.png  
    MQL4 programmer

    Volli Correla lines

  15. #3854
    In Profit
    Join Date
    Feb 2017
    Posts
    114
    Thanks
    7
    Thanked 1 Time in 1 Post

    Default

    you are a genius, my Guru.
    Thank you.

    Where do I find this in the EA input panel?

    Are you making a new version?
    Last edited by optionhk; 02-25-2021 at 01:03 PM.

  16. #3855
    Moderator eevviill's Avatar
    Join Date
    Jul 2015
    Location
    Бандерівці
    Posts
    4,617
    Thanks
    1,542
    Thanked 1,671 Times in 1,535 Posts

    Default

    What do you mean where?
    In inputs.
    MQL4 programmer

    Volli Correla lines

Page 257 of 260 FirstFirst ... 157207247253254255256257258259260 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