ok my system is completely based on candles, it seems like it should be really easy to code but idk where to start.
This attempts to trade candle reversals using the highs/lows of the previous candles
basically it takes a long trade when the close of the candle is higher than the highest value of the previous 1-3 candles (make this an input), and when that signal is generated it sets a stop under the lowest price of the previous 5-10 candles (make this another input).
To decrease whipsaw, I was thinking there could be some sort of counter included so that it doesnt generate new signals until at least 20 candles have closed from the time of the last signal.
Any help I could get on this would be great. I'm just pretty confused as to where to start. I coded half of this in like 5 minutes in thinkscript but MT4 is different
This attempts to trade candle reversals using the highs/lows of the previous candles
basically it takes a long trade when the close of the candle is higher than the highest value of the previous 1-3 candles (make this an input), and when that signal is generated it sets a stop under the lowest price of the previous 5-10 candles (make this another input).
To decrease whipsaw, I was thinking there could be some sort of counter included so that it doesnt generate new signals until at least 20 candles have closed from the time of the last signal.
Any help I could get on this would be great. I'm just pretty confused as to where to start. I coded half of this in like 5 minutes in thinkscript but MT4 is different