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
Hello,
My name is Carlos, I am new here.
I started to develop an indicator and I expected that using this type of code:
It would be possible to get the value of the last bar using this
But it appears this message:'iHigh' - function can be declared only in the global scope
Could someone help me to find a way to use information of past bars to create an indicator ?
Thank you