1週間のTPの数を数える
1件の返信
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
0
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)
0
1件の返信を表示中 - 1 - 1件目 (全1件中)