someone please just show me a simple code in mql4:
if price= ichimoku
just as simple as that, thank you
You haven't really followed the advice in the other thread.
Don't use == because it is not good practice for comparing doubles. Either check for a cross (price was above ichimoku but now it is below) or make sure you limit how many orders are placed.
Put your code to check and open orders in OnTick(), not in OnInit()
Make sure you are calling the correct mode of Ichimoku. Some, like MODE_CHIKOUSPAN, do not have a value for the current bar.
You can consider this section:
No, there is a Senkou Span A for the current bar. It is only Chikou Span that doesn't.
Add the ichimoku indicator to a chart and open Data Window (CTRL+D)
You can move you mouse over the bars and see the values change
Forum on trading, automated trading systems and testing trading strategies
need help please
mrluck1, 2017.01.24 19:14
No. I provided the link to you about everything - indicators and the EAs (and you can find it by yourself because I just used Search feature on this forum).