alp,
Suppose you want to buy when Mom crosses up 0 and sell when crosses down 0 then:
Buy Logics:
AND Mom (x) Previous < 0
AND Mom (x) Current > 0
Sell Logics:
AND Mom (x) Previous > 0
AND Mom (x) Current < 0
Hello,
Thank you very much Scorpion.
Would it be the same logic with, say, RSI crossing 25 and 75 levels?
It's relatively simple to create EAs using a crossover principle, however if the task is more complex some part of mql code is needed which requires some skill.
Example: ADX crossing on 1D chart. The position is to be opened the next 1 or more days after the +DI/-DI crossing each other on condition that the price breaks out the highest high or the lowest low of the day the crossing has occured (Wilder's rule).
Is it possible for a newbie to make it by means of Zero Code?
Regards,
alp
Would it be the same logic with, say, RSI crossing 25 and 75 levels?
Yes, the same with RSI and others.
In this case, ZeroCode is not capable of doing so yet. However, ZeroCode helps you not to start coding from scratch, so you might just need to code only the Highest high/Lowest low breakout checking only.
![MQL5 - Language of trade strategies built-in the MetaTrader 5 client terminal](https://c.mql5.com/i/registerlandings/logo-2.png)
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
This code has not compilation errors but I have a vogue idea that it's not correct. It's a simple EA based on Momentum crossing zero level.
The problem is how to define this zero level in trading logic?
Thanks