fxDreema

    • Register
    • Login
    • Search
    • Back to the main page
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    1. Home
    2. Tehern
    3. Posts
    T
    • Profile
    • Following 2
    • Followers 0
    • Topics 1
    • Posts 19
    • Best 0
    • Controversial 0
    • Groups 0

    Posts made by Tehern

    • RE: Strategy Tester Error

      https://fxdreema.com/shared/45DodPjWb

      current version

      posted in Questions & Answers
      T
      Tehern
    • RE: Strategy Tester Error

      I have used trailing stop block but I don’t know why only trailing stop function is working but the modify not working ( modify is to ensure the stop loss is adjust to higher than stop loss price).

      If I use the blue condition block within the pink block (pips from the open price) and another pink block (modify stop loss), will the condition block work?

      posted in Questions & Answers
      T
      Tehern
    • RE: Strategy Tester Error

      @jstap I have tried run this EA but it just direct trail the stop loss, For example buy at 2446.70 with sl (2444.50) and tp (2451.70), then it modify stop loss to 2446.27 then 2446.68 (every 4 pips trailing step with 4 pips trailing stop) but what i expected it should be 2446.85 (sl 1.5 pips above the open price when gained 4 pips profit) then after this only start the trailing. How should I build the block so that it will modify the stop loss when hit my first profit then after this only start trailing stop loss? Could you show me the correct way? Thanks

      Testing version https://fxdreema.com/shared/H4uKrIDwe

      posted in Questions & Answers
      T
      Tehern
    • RE: Strategy Tester Error

      image.png|

      Am I correct?

      posted in Questions & Answers
      T
      Tehern
    • RE: Strategy Tester Error

      I realize my modify stop loss is not working and I have try different arrangement still can't activate

      posted in Questions & Answers
      T
      Tehern
    • RE: Strategy Tester Error

      @jstap Hi jstap, may I know how can I set the reference price to my entry price?

      posted in Questions & Answers
      T
      Tehern
    • RE: Strategy Tester Error

      I followed how u arrange but I still face some minor problem, trying to solve it btw thanks jstap for helping

      If can't solve will ask for help

      posted in Questions & Answers
      T
      Tehern
    • RE: Strategy Tester Error

      https://fxdreema.com/shared/wBxa2mqhc

      Hi sir, here is the updated version, my trailing are not working but my first modify works with similar tree blocks, thanks

      posted in Questions & Answers
      T
      Tehern
    • RE: Price level to where trail stop starts must be at specific pips at profit

      Hi sir, could you shared your project link so I would understand how you do it as the problem I faced is the trailing are not working but my breakeven can work. Thanks

      posted in Questions & Answers
      T
      Tehern
    • RE: Strategy Tester Error

      I have followed the method how u put the right side tree block, then I realized that my trailing part is not working. They only modify the stop loss once.

      posted in Questions & Answers
      T
      Tehern
    • RE: Strategy Tester Error

      https://fxdreema.com/shared/Z8vtTyVnd

      Am I correct? If not could you show me the correct version? Thanks

      posted in Questions & Answers
      T
      Tehern
    • RE: Strategy Tester Error

      But may I know what is blue block?

      posted in Questions & Answers
      T
      Tehern
    • RE: Strategy Tester Error

      @jstap said in Strategy Tester Error:

      With trail I would use the blue block, set it up in a separate tree, you can set up a small test project to see if as you want works on backtest.

      May I know what is blue block? (I just joined this 3rd day) Is it "Bucket of position or orders"? If it is in separate tree without linking to the order condition, the trailing will still continue to update the stop loss for the order?

      posted in Questions & Answers
      T
      Tehern
    • RE: Strategy Tester Error

      @jstap said in Strategy Tester Error:

      Ok but what if on the 1st tick of a candle 1 of your conditions is false, but then by the second tick it's true, so the once per bar has stopped the EA?

      Nope, the EA will continue to proceed the buy/sell order if one of the condition is fulfilled

      posted in Questions & Answers
      T
      Tehern
    • RE: Strategy Tester Error

      How should I arrange the modify stop loss for first level of profit achieved then the start to trailing the stop loss? Should it be linked after the buy/sell block? For the purple on trade, I don't know how to set the profit of the trade then I saw this option then only pick it so what should I choose to make the profit value to be compared? Hence, the once per bar should be correct right as I only need to open trade at the start of the candle. Sorry if I misunderstanding.

      posted in Questions & Answers
      T
      Tehern
    • RE: Strategy Tester Error

      https://fxdreema.com/shared/yJxuBSrLc

      can refer to this too

      if any error pls let me know so I can improve it

      posted in Questions & Answers
      T
      Tehern
    • RE: Strategy Tester Error

      2024.08.23 21:57:49.849 Core 01 2024.08.01 03:00:00 array out of range in '110813-14855.mq5' (8426,52)

      I saw this error

      and the line is this:
      double EventValueProfit() {return eventValues[eventValuesQueueIndex].profit;}

      Complete part:
      double EventValueCommission() {return eventValues[eventValuesQueueIndex].commission;}
      double EventValuePriceOpen() {return eventValues[eventValuesQueueIndex].priceOpen;}
      double EventValuePriceClose() {return eventValues[eventValuesQueueIndex].priceClose;}
      double EventValueProfit() {return eventValues[eventValuesQueueIndex].profit;}
      double EventValueStopLoss() {return eventValues[eventValuesQueueIndex].stopLoss;}
      double EventValueSwap() {return eventValues[eventValuesQueueIndex].swap;}
      double EventValueTakeProfit() {return eventValues[eventValuesQueueIndex].takeProfit;}
      double EventValueVolume() {return eventValues[eventValuesQueueIndex].volume;}

      string EventValueComment() {return eventValues[eventValuesQueueIndex].comment;}
      string EventValueSymbol()  {return eventValues[eventValuesQueueIndex].symbol;}
      

      };

      Is my code got problem?

      posted in Questions & Answers
      T
      Tehern
    • RE: Strategy Tester Error

      Before this error appeared, i used same settings to test the EA at least 10 times so I also believe that not my EA problem. I have tried another platform but it could not run the EA as the script too long ( my script around 3700 lines)

      posted in Questions & Answers
      T
      Tehern
    • Strategy Tester Error

      Hi guys, how to solve this error? I have tried different period, different pair and EA but still having same problem. Customer service just said they don't have data during 23:59 - 00:01. I have tested few times before with same period and same EA but suddenly popped out this error but until now I still can't solve this. Pls help🥲
      b615bde2-21e0-40a4-8390-e4367f8087eb-image.png

      posted in Questions & Answers errors tester mt5
      T
      Tehern
    • 1 / 1