Manta, Ecuador
Site Administrator Developer Swing Trader
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,399 since Jun 2009
Thanks Given: 33,173
Thanks Received: 101,539
|
Something along the lines of below, for MultiCharts at least:
vars:
nbrtradestoday (0);
if date <> date[1] then begin
nbrtradestoday = 0;
end;
if MarketPosition <> 0 and MarketPosition[1] = 0 then nbrtradestoday += 1;
if nbrtradestoday >= 1 then #return;
Have just typed it, not tested.
Mike
|