PRICE CLOSE vs INDICATOR
-
dear all friend & support of fxdreema
if anybody cpuld help me to solve this issue
please help how to build ea based on candle price close vs indicator..
i've already try to follow the guidelines but it doasn't open order.. where are my misatke on this.. -
That condition alone works... well, I think you should select x< instead of x>, but otherwise it passes at some times, so whatever is after the condition is executed sometimes as well.
I will suggest some things. Use "No whatever exists" blocks on the top, before conditions - the EA will be backtested faster. Maybe connect those blue blocks before Buy now/Sell now (not in parallel) - this is not mandatory, but I don't think you really want them like that.
-
__That condition alone works... well, I think you should select x< instead of x>, but otherwise it passes at some times, so whatever is after the condition is executed sometimes as well.
I will suggest some things. Use "No whatever exists" blocks on the top, before conditions - the EA will be backtested faster. Maybe connect those blue blocks before Buy now/Sell now (not in parallel) - this is not mandatory, but I don't think you really want them like that.[/quote:2xzrmlz0]
thanks

finally this the one that works.
http://i.imgur.com/GtDvggb.pngit only check previous candle.
now what if i wanna check high/low of let's say 5 candle to the back.. if there is 1 candle low/high among those 5 candle back is above/below the indi then Open Order.how to do that..
or maybe i should use "OR" .. ehmmm let me try -
There is a block "Indicator moves within limits" that checks if the indicator was between two levels in the past X candles, for example if CCI was between 0 and 100 in the past 10 candles. Well, this is the opposite of what you ask for, but if you can use it...