Hello Ben, how you doing?
Well, I am doing well, I hope you are fine too.
I am testing it and it works perfectly.
Thank you to have taken time to help me.
Have a nice day ! :)
- Ben2097: I am trying to make an indicator from CCI.
if(iCCI(NULL, PERIOD_CURRENT, PeriodCCi, PRICE_CLOSE, i) > 0
Why did you post your MT4 question in the MT5 Indicators section instead of the MQL4 section, (bottom of the Root page)?
General rules and best pratices of the Forum. - General - MQL5 programming forum? (2017)
Next time, post in the correct place. The moderators will likely move this thread there soon. -
On MT4: Unless the current chart is that specific symbol(s)/TF(s) referenced, you must handle 4066/4073 errors before accessing candle/indicator values.
Download history in MQL4 EA - MQL4 programming forum - Page 3 #26.4 (2019)
-
Why did you post your MT4 question in the MT5 Indicators section instead of the MQL4 section, (bottom of the Root page)?
General rules and best pratices of the Forum. - General - MQL5 programming forum? (2017)
Next time, post in the correct place. The moderators will likely move this thread there soon. -
On MT4: Unless the current chart is that specific symbol(s)/TF(s) referenced, you must handle 4066/4073 errors before accessing candle/indicator values.
Download history in MQL4 EA - MQL4 programming forum - Page 3 #26.4 (2019)
1. I didn't see It was in the wrong place , Next time I will post it in the correct place.
Thanks.
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
I am trying to make an indicator from CCI.
It has to return 1 blue when CCI is above 0,
and 1 red when CCI is below 0.
Very easy stuff. But I would like it to takes value from a different symbol.
So i have use : input string Symb = "EURUSD";
I don't know how to put that in the "Calculate" section.
I am not a coder, if someone may help It would be nice.
Thank you.
Here is the code :
-+