Code: Select all
If time=sess1begintime then quantity=0;
if barstatus(1)=2 then quantity = quantity+("get executed contracts this bar");
if time=sess1endtime then print("quantity");
Any suggestions?
Code: Select all
If time=sess1begintime then quantity=0;
if barstatus(1)=2 then quantity = quantity+("get executed contracts this bar");
if time=sess1endtime then print("quantity");
Unfortunately no, you cannot access the values from broker (like in order and Position Tracker) from EL code.Is there a key word that would actually reference the quantity executed at the broker (as would show on the order and position tracker)?