This forum is in read-only mode now. You may discuss your questions on forums of MQL4.community and MQL5.community
confusing Alligator dataBack to topics list |
|
ivo
2009.10.14 14:35
Hello
I've just noticed that there is difference between the price returned by the iAlligator function and price shown by the plotted alligator line from Inser/Indicators/Bill Williams/Alligator
function returns for the last bar 1.6159 [received from iAlligator(NULL, 0, 13,8,8,5,5,3,MODE_SMA, PRICE_MEDIAN, MODE_GATORJAW, 0)]
but placing mouse at the end (should last bar) of the red line shows me 1.5993 blue - 1.6093; yellow - 1.5934
This is on GBPUSD daily chart (14 Oct.)
I've two questions:
Why is this difference?
How could I get by code the value of the last (most right) point of the (let say) red line?
Thank you
Ivo
PS: I've attached a picture hoping it will clear the problem I faced.
|
|
ivo
2009.10.23 22:14
|
Download MetaTrader 5 (450 Kb, web installer) — a new terminal for financial markets

