@l'andorrà
https://fxdreema.com/shared/037xpdHFb

@gooseman
Block 18. Try:
Set variable to Text (you have set it to numeric)
@PrinceErielle902
It also happened to me couples of month ago. Reason unknown.
Better just delete some blocks and rebuild after all
@fxDreema
Everytime you talk about the 1000 blocks, I raise a question to myself: is it a joke?
@ambrogio
You are right. It works well with other blocks. My simple test with MQL code "Print Symbol()" did not give every chart symbol which, however, were printed out correctly if they were given by some other blocks in form of variable.
@roar
Never thought one can DIY a loop with the condition block. You inspired me
Start a small project
condition --> once per bar --> buy/sell
Learn coding is good as you can do your own customized indicator
So you wouldn't waste time on customized indicator with unknown details
@capitalfreedom
e.g. PERIOD_M5 is 5-minute period.
Following link have all the details. As your input will handle it all provided you have selected the favorable timeframe, actually you won't need to worry about that.
https://www.mql5.com/en/docs/constants/chartconstants/enum_timeframes
@capitalfreedom said in Using Constants for Timeframe:
TStart_TF

Enter ENUM_TIMEFRAMES at the leftmost entry. Then your constant name
The data type is : ENUM_TIMEFRAMES
Value 0 for current timeframe
I think you are talking about trailing stop ?
@Katlego-Moraba
Use the result of previous bar.
@ExWize
It is the EMPTY_VALUE and numeric representation issue.
For numeric representation, you can try function like DoubleToString(variable_name,Digits)

In your original block, you put the variable in the entry box, and at the same time tick the selection for user input.
What I am doing now is focusing one symbol at a time, and test the symbol with different EAs.
It turns out that each symbol fits to a particular EA that won't fit for other symbols.
In particular, USDJPY vs USDCAD vs EURUSD/GBPUSD/AUDUSD vs USDCHF
They all have unique structure and temporal characteristics.
Finally the stock index are forex symbol are far more different.
@l-andorrà
Candle ID = 3 probably refers to the past time at the previous third candle (current candle as 0). It serves as the base for the input of Shift in Time