Help in creating auto trading expert at prices with multiples of 5
-
Hello, I want to create an expert with this site that will open a position when the gold price reaches a multiple of 5, but I am having trouble creating this multiple of 5 condition and I don't know which block to use.
For example, if the price reaches 1255, open a position.
-
@hojjat78 You need to use this block to find those numbers:

-
Thank you for your kindness. Now, what should I do if I want to set the daily loss limit and daily profit limit as a percentage of the account balance?
-
Do you mean closing all open trades when any of those targets is hit and then not opening new trades until next trading session?