Forums › ProRealTime English forum › ProRealTime platform support › Onetrade per day (help) › Reply To: Onetrade per day (help)
05/09/2024 at 10:26 AM
#232509
Please post the code, not a screenshot of it, so that it can be used. Thanks 🙂
I suggest that you add this line (as line 77 or 82):
1 |
OTD = Barindex - TradeIndex(1) > IntradayBarIndex |
then replace the condition OneTrade = 0 by OTD (or OTD = 1) in line 84.