calling iCustom in EA
outofdebt:
It's Bid Prices by Default. Close=C in O-H-L-C.
If I call a custom indicator in an EA using iCustom, what price is used (O,H,L,C) to calculate the indicator value? Is is 'close' price by default?
outofdebt:
If I call a custom indicator in an EA using iCustom, what price is used (O,H,L,C) to calculate the indicator value? Is is 'close' price by default?
There is no default. An indicator can look at anything it wants to. Look at the indicator's code and see what it is using.
If I call a custom indicator in an EA using iCustom, what price is used (O,H,L,C) to calculate the indicator value? Is is 'close' price by default?
WHRoeder:
There is no default. An indicator can look at anything it wants to. Look at the indicator's code and see what it is using.
Just in case there is any doubt, I totally agree with WHR's answer above.
There is no default. An indicator can look at anything it wants to. Look at the indicator's code and see what it is using.
OK, got it.
If I call a custom indicator in an EA using iCustom, what price is used (O,H,L,C) to calculate the indicator value? Is is 'close' price by default?