EA based on Hedge Strategy programming help

thread: EA based on Hedge Strategy programming help

  1. #1
    Junior Member sousss's Avatar
    4

    EA based on Hedge Strategy programming help

    1 Attachment(s) Hi, I want to backtest a egy based on hedging. If a developer can help build EA. I have 8 years data on EURUSD with Tickstory.

    All principles attached in word record
    https://www.cliqforex.com/general-fo...uring-pmi.html

  2. #2
    Junior Member sousss's Avatar
    4
    1. Yes. Because I wish to backtest the two egyes

    2. Yes. Change parameters into EA if potential without eliminating EA out of chart. For example Lot scale is accurate and Scale is 0.01 and Lot multiplier is false at 2.0 multiplier factor, initial order was opened at 0.01 lots, next order at 0.02, third order at 0.03. Now change Lot scale to false and Lot multiplier to true and following order will be opened at 0.06 lots...

  3. #3
    Junior Member sousss's Avatar
    4
    As hedging dont understand if crash on extended backtest... Is an hedging on different price lines. Orders are opened for more time than normal hedging, profitable on trend because awaiting the next order to make more profit than original order...

  4. #4
    Junior Member Educokejo97's Avatar
    2
    1. Yes. Because I wish to backtest both egyes 2. Yes. Change parameters into EA if possible without eliminating EA from chart. For instance Lot scale is true and Scale is 0.01 and Lot multiplier is untrue at 2.0 multiplier variable, initial order was started at 0.01 lots, next order at 0.02, third order at 0.03. Now change Lot scale to untrue and Lot multiplier to true and following order will be opened at 0.06 lots...
    1. I understand that you would like to test both egies, but how are you going to incorporate both into a single EA? Or do you want to perform two EA?

    Thanks,
    Sandy

  5. #5
    Junior Member sousss's Avatar
    4
    On the next egy (Keep On=true) give same parameters of the principal egy (stoploss, take profit...).
    EA will follow rules of Keep On egy that EA will start intermittently buy-sell-buy-sell-buy-sell each X pips... Example: first order is 30 pips and Re-Entry will be 50 pips: when price goes up 30 pips from real price EA will start market order, then if price goes down EA touch take profit about 20 pips, however when price goes up 50 pips EA open buy order at lot scale or lot multiplier, then if price continue to go up EA open market order at 50 pips above buy order, rather after first buy order is filled if the price goes down 50 pips below first sell order EA open market order consistently at lot scale or lot multiplier

    While Keep On is false, EA build hedging lines, only buy above first order and only sell below first order: when the price goes 30 pips up EA open market order, then when the price goes up 50 pips EA open buy and trace tendency until next order lot size earn more profit than first order lot size, but should take profit is not attained and the price goes down 50 pips below the first sell order, EA open market order here at lot multiplier or lot scale and Subsequent trend until the 2 market orders make more profit than the buy order

    Only 1 EA... Composing the code with the two egies

  6. #6
    Junior Member Educokejo97's Avatar
    2
    Hi, I want to backtest a egy according to hedging. If a developer can help to build EA. I've got 8 years data on EURUSD with Tickstory. All rules attached in word document file
    Hey Djatomic,
    I have read your egy details and I have a few questions on it. Can you please explain?

    1. #8220;Next Orders#8221; states EA shouldn#8217;t open any order under second market order. But #8220;Keep On#8221; states EA should open a buy order when the price goes X pips under next sell order. Both these requirements are contradicting each other.
    2. Under #8220;Other Rules#8221; about Lot Scale and Lot Multiplier, Do you intend to state you will change these configurations on the head and EA should work accordingly? For ex: To change a parameter, you should reattach the EA in which case the EA should pick up the existing transactions and work according to that. Please confirm.

  •