Forum

Coding trouble for swing indicator

Hi everyone, I have attempted to code a little swing indicator, where the indicator draws an arrow on the bar where the highest high occurred over the last X bars and an arrow on the bar where the lowest low occured for X bars. But something must be wrong in my code, while the indicator loads in

Help needed with Buy Order conditioning

Dear all, I have actively started to develop an EA to complement my discretionary trading. While all the great resources provided by MetaQuotes and this great community of traders have aided me greatly, I have come to a challenge I could not overcome. The backtesting of my EA provides solid result