Hello,
I am new to Pro Real Code, and was keen for someone to share a simple script that can provide me with a MAX DAILY LOSS limit of £500.
After which I cannot place a trade in that day.
This would need to reset the following day.
Thanks
Shaz
Use TradeON as an additional condition to enter a trade:
Once MaxLoss = 500
Once TempProfit = 0
Once TradeON = 1
If IntraDayBarIndex = 0 Then
TempProfit = StrategyProfit
TradeON = 1
Endif
If TempProfit - StrategyProfit >= MaxLoss then
TradeON = 0
Endif