Hello All,
I want to make a condition that detects if an indicator value (SMA10 for example) is higher than the last 5 candles highs.
What is the easiest block to be used to apply this condition?
Regards,
Hello All,
I want to make a condition that detects if an indicator value (SMA10 for example) is higher than the last 5 candles highs.
What is the easiest block to be used to apply this condition?
Regards,
@roar That sounds a better idea. Thanks for your advice roar.
Hi Guys,
I tried to make the input in the below picture (02:00) as a constant input but it didn't work. I guess because I selected DOUBLE as a type of the input.
Is there any other way to define the time as a constant input that I can use in optimization?
I tried also using this field as an optimization field, but it becomes uneditable in MT4 EA optimization inputs.
Thanks,

Hello Guys,
I trade systems where I use basic horizontal channels but using visual backtesting.
Do you have any ideas how can I use EA in such systems?
How to define the channel can be as easy as finding two tops and two bottoms which are withing a 5 pip range.
Cheers,
Hi,
Modeling Quality is not the same even if I use different computers with the same broker user on MT4. It varies from 60%-85% based on the computer. What might be the reason?
Thanks,
Hi Guys,
I am working on a system that used the daily candle. My issue is that the daily candle starting hour is 00:00 GMT as per my broker's timing.
Thanks,
Thanks a lot guys. Your response was really useful.
@fxdreema Thank you Dreema!
It worked perfectly.
One more question that would help a lot if you can answer. Is it possible to round the SL and TP to half levels like 123.0, 123.5, 124.0, 124.5 ... etc.
It is easy in the ROUND NUMBER DETECTOR because I can write the grid size as 0.0050. But is it possible to be make with MathFloor for example?
Cheers,
Hello,
I am trying to make my SL as X pips above the previous candle's close. I want to test this X number on the optimization till I find the optimal number.
I didn't find the tick mark (for optimization) on the right side of ADJUST field. What is the easiest way to do that?
Thanks,
Hello,
I want to set my SL or TP to be after X hours from the entry. How can I do that in fxdreema?
Regards,
Thanks You Dreema, it worked.
How can I apply this to TP or SL? Is there any way to link the TP to an object like "Round numbers detector"?
Regards,
I am trying to test some ideas where I want the system to buy/sell/tp/sl on specific
and main rounded price value like 1.13, 1.14, or even smaller values like 1.1310, 1.1320, 1.1330 ... etc.
Is that possible to be programmed here as a variable?
Regards,