[...]
ok i found the fixed version but how can i include this version in my ea? at the moment i include the indicator: iSAR(NULL,0,0.02,0.2,0)
i copied the fixed indicator ( Parabolic Sub ) into the indicator folder, what code must i use to include the fixed version ?
Parabolic Sar is a standard indicator that ships with MT4. iSar will reference this standard indicator. If you have an additional Custom indicator you will have to refer to it with iCustom().
Without seeing the indicator, it''s difficult to tell but after the file name you need to input the extern variables in order, set the mode to the indicator buffer number and then the shift..
I'm guessing it would be something like
iCustom(NULL,0,"Parabolic
Sub",0.02,0.2,0,0);
https://docs.mql4.com/indicators/iCustom
That's based on the inputs for the standard sar so if you have different inputs, it will be different code
V
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
Hello,
my ea works with 4 indocators and one of them is the isar parabolic indicator, but it is not working!
when i include the parabolic indicator in my chart and watch 20 bars, then i restart mt4 and the points are on different positions, there are huge differences !!!
If i refresh my chart then nothing happen, what can i do that the points are on the right position ?
Mo1k
edit:
ok i found the fixed version but how can i include this version in my ea? at the moment i include the indicator: iSAR(NULL,0,0.02,0.2,0)
i copied the fixed indicator ( Parabolic Sub ) into the indicator folder, what code must i use to include the fixed version ?