Formula
-
double up = (iMA(NULL, 0, 50, 0, 3, PRICE_TYPICAL, 1) - (iATR(NULL, 0, 18, 1)*2));
How to indicate this in the formula? -
Possible to share the link? It will enable for better understanding.
-
@vypchela You don't need custom code in FX, a formula block with MA on left - atr adjusted to *2, put into a variable you have created called double_up
-
@vypchela do you mean something like this?
https://fxdreema.com/shared/g5mVhvffc

I'm not programmer yet. COuld you explain to me what it mean on your iMA inputs?
(iMA(NULL, 0, 50, 0, 3, PRICE_TYPICAL, 1)
iMA is the indicator, Null is the Trading Pair , 0 is the timeframe (?), 50 is MA Period, 0 is the shift, 3 is the MA Method (??), then MA apply; and the last what is (1) ??
..
(iATR(NULL, 0, 18, 1)
Null- Trading Pair, 0 TF (current), 18 -- ATR period, 1 shift (?)If someone knows, please explain it to me
-
@uriel-0 That is what I mean, providing you are getting no errors all should work, I would put the result into a comment so I could visually check.
-
-
@uriel-0 would do it like this, just put the result in a comment to verify
. -
Thanks to everyone who took the time.
-
-
@vypchela the indicator? You can get it on MQL5 official page for free
