I hope someone could help I want to test a strategy where the system goes long once a 5pt candle move has been detected. I dont want the system to go long on the next candle but once high/low equal 5 pts or 20 ticks. How would I write this code in the wizard. please advise. I have attached a photo to help.
I do quite a bit of candlestick coding in EL, but just so I understand correctly,
I gather you're trying to enter a long position based upon a hammerhead....are you trying to gain a signal from the ratio of the handle to the candle or simply based upon the length of the handle? (keep in mind you might have a 5 tick handle on a 40 tick candle body or a 5 tick handle on a very small candle that also contains a large top wick/shooting star).
short answer: you probably can't do this via the wizard.
i'm uncertain in your request if you are only measuring candle-body movement or if you are measuring from swing-high/swing-low.
you may want to try coding an indicator first. once you have an indicator that signals buy/sell accordingly, then it would be much easier to use the strategy wizard to automate your entries. hope that helps.