How to use Turn Off Block?
-
Hello mate hope you all doing good in writing EA. I still don't know exactly how to use Turn Off Blocks. But I'm starting by writing this concept idea.
Here is the concept of EA that I still don't know to how to with it
"Stop trading when daily losses exceed a set limit (e.g., 5% of balance)."
Can any body share some method...https://fxdreema.com/shared/LcvPOsufe
Apricated to all of you.
-
The structure is correct, however, the formuli used are not. Every day balance will be potentially different form the previous one, so why using a fixed Constant instead. You should store the value of today's balance at the beginning of each day and then use the equity protection formula on it.
-
@l-andorrà I see, very apricate you so much. Your advice help me a lot then now I know what to do next.
-
@windsor-2003 You're welcome.