Arrow drawing help for wingdings code has an error / broken reference

Arrow drawing help for wingdings code has an error / broken reference

There is an explanation in the examples on how to use OR blocks
For sure, the best approach is the one that works and that you understand, and that sounds good to me.
Simple and understandable trumps elegance.
@DGRL
I think I understand what you are after, it is a typecasting issue. I'm fairly certain it has to do with trying to do the calculation in the variables section and the way the code is Dynamically generated.
Here the order is placed, and the multiple(2 in variable) * spread(8) = 160. So the SL is adjusted by 150 once in 20 pips of profit.
Shared project:
https://fxdreema.com/shared/1eFNI4ZZb
Result:


Can you manually compile or provide the error code when the EA does not load?
It can be that you are putting a space or it's a type issue (variable type)
You could do condition on Market properties, time. Then do Value > Time > Components and select for that day.
Then do a "Time filter" based on weekday, if it ends up being a weekday, do a formula that does a N+1 (counter)
Then you can have another block can check for this N+1 value and if it's present, it tries to place the trade. If it's successful placing the trade, reset the variable back to 0.
This won't handle the holidays, but without looking at external feeds (at least in MT4) I'm not sure of a way do to this without just manually programming in the holidays for every one that happens, for every year.
The only other idea is that if your broker disables your connection during weekends/holidays, you could also use the "Terminal Connected" block. Holidays can also be tricky depending on instrument. For example, some holidays only Asian indexes are closed, while on others only American indexes are closed.