
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
I have this function called from Start.
I even modified the . Took the indicator from a previous version of MT4 and made it a BetterZigZag (the zigzag on screen is a bit different, but that's not because of me).
The Better Zig Zag returned the same value, no matter what happened on chart further.
It includes 4 extra buffers, 2 temporary (not necesary) and 2 usable, which represent the actual locations on time (ExtExtraBufferX, buffer 3 ; ExtExtraBufferY, buffer 4).
When I saw the last value is still the same no matter the indicator was progressing on screen, I forced the things even far and I put the indicator to write the last zig/zag location in 2 global variables (The EA was explicitly requiring the indicator to be on screen). This didn't work either. I attach the code here:
I see similar problems on the . The value returned is not like the one on the screen, however it gets changed:
I called Parabolic SAR like this:
PSar=iCustom(NULL,0,"Parabolic",0.02,0.2,0,0);
What I get is this:
I'm trying to determine direction of zigzag indicator with the icustom command.
This is what i have so far:
ZigZagHigh=iCustom(NULL,0,"ZigZag",MODE_HIGH,0);
ZigZagLow=iCustom(NULL,0,"ZigZag",MODE_LOW,0);
The lines are drawn on the chart, but both ZigZagHigh and ZigZagLow are equal to zero when I run the program.
How would i determine the trend of the ZigZag indicator with the icustom function?
Thanks
Can you guys post the three buffer zigzag please.
Thanks
Dr Gaines
I'm trying to determine direction of zigzag indicator with the icustom command.
This is what i have so far:
ZigZagHigh=iCustom(NULL,0,"ZigZag",MODE_HIGH,0);
ZigZagLow=iCustom(NULL,0,"ZigZag",MODE_LOW,0);
The lines are drawn on the chart, but both ZigZagHigh and ZigZagLow are equal to zero when I run the program.
How would i determine the trend of the ZigZag indicator with the icustom function?
Thanks
You can't determine the trend. The last point's position is variable until another point is added.
嗨
能你们请张贴 3缓冲区之字形。
感谢
盖恩斯博士
Rosh, 这发生了在上生动, 不测试... 我做无论什么, 那价值留下粘住...
我甚至更改了之字形。 从MT4的一个先前的版本拿了指示物并且使它成为了一BetterZigZag(在屏幕上的之字形是一点的不同, 但是那不因为我)。
好一些的转弯急变归还了一样的价值, 不管在图表上什么进一步发生了。
它包括4个额外的缓冲区, 2暂时(不necesary) 并且2合用, 它准时代表实际的地点(ExtExtraBufferX, 缓冲区3; ExtExtraBufferY, 缓冲区4)。
当我看了时最后价值仍然是一样的不管指示物在屏幕上正在进行, 我甚至远强迫了事情并且我把指示物放在2全球的变数写最后转弯/急变地点(EA是明析地要求指示物在屏幕上)。 也这没工作。 我这里依附代码:
Time>=M30
Time>M30
zigzag=betterzigzag