Forum

Please help to fix my code MQ4 - Bars strategic

Hi I do a code in mq4 to show an arrow when: The Macd is above the 0 level line and the candlestick has the lowest closing price of the last 4, it will show a buy signal. And when the Macd is below the 0 level line and the candlestick has the highest closing price of the last 4, it will show a sell

4 and 10 bar high/low in chart

Hello: I want to add a bar counter with up or down signals, every time MACD crosses the 0 line. EX: If macd crosses line 0 upwards. Show with an arrow between the last 12 bars the fourth lowest bar and the 10th lowest bar. The same in the opposite case. If macd crosses line 0 down. Show with an