double val=iForce(NULL,0,period,method,PRICE_OPEN,0);
goverkms:
double val=iForce(NULL,0,period,method,PRICE_OPEN,0);
double val=iForce(NULL,0,period,method,PRICE_OPEN,0);
Thank you for your nice answer, Can you please help me about iStochastic() indicator?
Because there is no a ENUM_APPLIED_PRICE for iStochastic()
goverkms:
So there is no way to find out what is the amount of iStochastic at open[] candle?
(NULL,0,5,3,3,MODE_SMA,price_field,MODE_MAIN,0)
Price field parameter. Can be one of this values: 0 - Low/High or 1 - Close/Close.
i think its mistake in documentation 1 mean open close
A good way to determine the selected Stoch line value at an open of the candle would be to use the 'isNewBar()' function as we discussed. Inside the OnTick() function you make an if statement that checks whether a new bar is formed. If so, then check the Stoch value with a shift of 1. Then you'll get an the desired Stoch line value at the open[1].
robila:
A good way to determine the selected Stoch line value at an open of the candle would be to use the 'isNewBar()' function as we discussed. Inside the OnTick() function you make an if statement that checks whether a new bar is formed. If so, then check the Stoch value with a shift of 1. Then you'll get an the desired Stoch line value at the open[1].
Thank you, It's nice
A good way to determine the selected Stoch line value at an open of the candle would be to use the 'isNewBar()' function as we discussed. Inside the OnTick() function you make an if statement that checks whether a new bar is formed. If so, then check the Stoch value with a shift of 1. Then you'll get an the desired Stoch line value at the open[1].
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
Hi
assume that we have this indicator setting:
iForce(NULL,0,period,method,price,0);
I want to know what is the amount of iForce at Open[0]
I searched about it, But I didn't find a result.
Thank you