OnPositionUpdate

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

Apr 09 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: 15
Joined: Apr 09 2024
Been thanked: 3 times

May 13 2024

Vars: MP (0);
MP = Marketposition;

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