PureBytes Links
Trading Reference Links
|
I'm trying to code the following set of conditions:
I want Analyzer formula below to function only if the closing price
is (and remains for the length of a possible trade) under the simple
150 moving average:
mfast = 12;
mslow = 29;
sigavg = 6;
Short = Cross(Signal(mfast, mslow, sigavg), MACD(mfast, mslow));
Cover = Cross(MACD(mfast, mslow) , Signal(mfast, mslow, sigavg));
How can I code this condition?
Thanks in advance!
|