I would like to create an expert based on Ashi Smooted indicator, but I need of your help.
I have the buy signal when price crosses up the indicator, I enter at the open of new candle.
Otherwise I have the short signal when price crosses down the indicator and I enter at the open of new candle.
Please how can I write in MQL4 language this crossing?
I don't understand how many variables I must to create.
Please can you help me?