OnPositionUpdate

Questions about MultiCharts and user contributed studies.
BossHog
Posts: 8
Joined: 09 Apr 2024
Has thanked: 1 time

OnPositionUpdate

Postby BossHog » 09 Apr 2024

Hi,
I'd like to limit output prints to only when there is a position update. NT has an override called OnPositionUpdate to handle this. What is the equivalent in MC?
thanks,
David

MoeMiami
Posts: 12
Joined: 09 Apr 2024
Been thanked: 3 times

Re: OnPositionUpdate

Postby MoeMiami » 13 May 2024

Vars: MP (0);
MP = Marketposition;

If MP<>MP[1] then print...


Return to “MultiCharts”