Count Number of TP in one week
1 réponses
Estrategias Ganadoras de Trading
Il y a 3 mois #285084
I need to program in AW that when the 2 TP a week strategy no longer operates. I understand that I have to make a counter of times we get TP but I don’t really know how to do it…
I have tried what you see in the image but it doesn’t work
tomas262
Il y a 3 mois #285105
You want to detect a positive “Closed PnL” result. The condition to make this work will be like:
If Position = Flat and Closed PnL > 0 and LastTradeCounted = 0
Actions:
- AssignVariable1 (counter = counter + 1)
- AssignVariable2 (LastTradeCounted = 1)
On trade entry you want to assign LastTradeCounted with value 0 again (action -> assign var)
Affichage d'1 réponse (sur un total de 1)