CO/USA
Experience: Intermediate
Platform: TradeStation, Multicharts
Trading: Stocks, Futures
Posts: 129 since Jun 2020
Thanks Given: 70
Thanks Received: 157
|
Should be able to do this with a variable for tracking trades today or trades this month. Something like
Tradestoday(0),
Mydate(date)
If date <> mydate then begin //clear trade counter
Mydate = date;
Tradestoday = 0;
End;
If tradecondition = true the begin
Enter trade code
Tradestoday = tradestoday +1; //add to counter
End;
If you want to limit trades in a day just add that in the if statement before entering a trade.
Writing this on my phone so disregard the bad coding.
|