|
Post by worker on Nov 30, 2019 8:41:37 GMT
Hello. Can you explain how to set a new stop win after 5 loses at one strategy at one day?
|
|
|
Post by Ipposnif on Dec 1, 2019 8:20:10 GMT
Hi, there isn't a direct variable but you can achieve it with this formula, that you have to insert in the "Entry Bet Condition (SQL)" of the strategy:
((dbo.fn_StrategyProperty(@id_strategy,'today_trades') - dbo.fn_StrategyProperty(@id_strategy,'today_winning_trades')) < 5)
Of course, if there are already other formulas in the "Entry Bet Condition (SQL)", you have to prefix the new condition with an AND :
AND ((dbo.fn_StrategyProperty(@id_strategy,'today_trades') - dbo.fn_StrategyProperty(@id_strategy,'today_winning_trades')) < 5)
|
|
|
Post by worker on Dec 3, 2019 14:59:51 GMT
I don't understand how it can help. Maybe there is any way to start a new strategy after 5 loses?
|
|
|
Post by Ipposnif on Dec 11, 2019 12:50:59 GMT
I don't understand how it can help. This is the answer to your previous question, so it should help.
|
|
|
Post by worker on Dec 23, 2019 20:39:50 GMT
For example my number of strategy is 4, what i need to add to Entry bet...?
|
|