
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
i am trying to write some code saying
current bar ask price is greater than current bar simple moving average (5ma, close price, simple.)
is this correct:
MarketInfo(Symbol(),MODE_ASK)> iMA(NULL, NULL,5,0,MODE_SMA,PRICE_CLOSE,0)
and
current bar bid price is less than the current bar 5 moving average:
MarketInfo(Symbol(),MODE_BID)< iMA(NULL, NULL,5,0,MODE_SMA,PRICE_CLOSE,0)
thanks for your help