0 to 7 means a total of 8_Processes.
for (q = 1; q < 7; q++) means 6_Processes. 1,2,3,4,5,6
Please use the SRC button, next time if you're posting longer codes.
The font and size used was hard on my eyes :)
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
Thanks for any help you can give :)
I want to use 2 indicators that trigger a trade.
I must set the 1st indicator with a shift since the 2nd indicator (2nd condition) will happen sometime after
Would this be the correct way to express the 1st indicator with a shift range from 0 to 7?
int q;
for (q = 1; q < 7; q++)
{
double Z = iCustom(NULL, PERIOD_M5, "Zero Lag", 0, q);
}
if ( Z < 40 && SD.05M > SD.15M )
{
buysig=true;
Thanks again for any input.