

Still not works bro... why is that ?.


Still not works bro... why is that ?.
Trailing stop block should be somewhere at the top of the "OnTick" event or should be exposed to tick flow. (Code Flow). Otherwise, it may not work properly.
Try "Time value (1)" and "Time Value (2)" with time values instead of indicator data. that may work.
@wegbereider There should be more conditions along with the candlestick pattern you mentioned. Once all the conditions are met, the last requirement may be the candlestick pattern you mentioned.
Yes, you can code something like that. before that your need to have a good idea about what you are going to create.
@jstap brother, I looked your example, it was for MT4.
I'm asking for MT5. I'm sorry for not mentioned it earlier.
Can you show me a example please. (MQL5)
Case -:
there is a EA for scalping. Every 30s it checks order count to ensure there is no additional orders have been placed. which means OnTimer event triggers for every 30s.
Time - 01:23:00
If a OnTick event has some series of blocks to execute right at 01:23:00 and If OnTimer event also triggered at the same time, which event will execute at first place ?.
is it OnTimer event or OnTick event ?.
thanks for the reply brother,
I used it this way, but there is no drawdown in the input menu 


I want to create dropdown menu in the input field for my EA. the EA uses two different trading models. Model 01 and model 02. User should be able to select a trading model and test the EA / Trade the EA.
Can you guy give me a advice to how to do it?
@Emmah13 It's a scalping EA for 1 min TF.
I want to count each modification of an order / Stop loss hit / TP Hit / New Order Create and store total activities.
As soon as these all activities reach to 2900, I need to stop my EA for trading for that day.
Can you guys tell me how to do this ?.