
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
For instance:
MaCurrent=iMA(NULL,0,MATrendPeriod,0,MODE_EMA,PRICE_CLOSE,0);
MaPrevious=iMA(NULL,0,MATrendPeriod,0,MODE_EMA,PRICE_CLOSE,1);
If I were to do
//---- sell conditions
if(MaCurrent<MaPrevious)
1) Would it look at the EMA for that exact second, and compare it to MaPrevious?
2) Is MaPrevious the EMA position exactly 1 bar ago? (for example if the chart is running on 1hr, and the current time happens to be in the middle of the current bar, would MaPrevious be in the middle of the previous hour bar? (exactly one hour ago?)
thanks!