This is my piece of code
if (Open[1] > Open[2] || Open[1] < Open[2])
Print (" iSAR is ", iSAR(NULL,0,0.02,0.2,1));
When I use the Parabolic custom indicator given with mt4 it plots the dots.
Now for my problems
1. When I use iSAR(NULL,0,0.02,0.2,1)..... and the shift value is 1, I am assuming that it must give me the value of the SAR that was plotted below the red bar which is second to last bar seen on the chart here.
2. The value plotted by the inbuilt tool is 87.3022. But my program outputs 87.2275.
I cant understand this. Can somebody please explain this to me.
if (Open[1] > Open[2] || Open[1] < Open[2])
Print (" iSAR is ", iSAR(NULL,0,0.02,0.2,1));
When I use the Parabolic custom indicator given with mt4 it plots the dots.
Now for my problems
1. When I use iSAR(NULL,0,0.02,0.2,1)..... and the shift value is 1, I am assuming that it must give me the value of the SAR that was plotted below the red bar which is second to last bar seen on the chart here.
2. The value plotted by the inbuilt tool is 87.3022. But my program outputs 87.2275.
I cant understand this. Can somebody please explain this to me.