@TashaB Then you should use variable instead of constants. Variables can store variable values and that is exactly what you need. A constant will always be using the same value all the time.
Best posts made by l'andorrà
-
RE: How to set buy and sell to follow same Lot sequence?posted in Questions & Answers
-
RE: Rest Systemposted in Questions & Answers
That depends on how it is programmed now. In general, removing it from the chart does exactly that if it correctly programmed.
-
RE: USA CLOSE TIMEposted in Questions & Answers
A trend line? Don't you mean maybe a vertical line instead?
-
RE: dynamic Take Profitposted in Questions & Answers
@mehdi1404 This is the fourth thread you used for the exact same question. Please stop using other's threads.
-
RE: Close all trades and return other dayposted in Questions & Answers
Then you can use this general structure:
-
RE: How to copy trades?posted in Questions & Answers
Agreed. Just use the free copy trader bot provided by fxblue.com. You will save a lot of time and pain.
-
RE: objectposted in Questions & Answers
@armankurd78 This is the second time you are asking for the exact same question. Please don't duplicate threads.
-
RE: Scanner Script?posted in Questions & Answers
@donjon122 You simply create your bot normally and the use this block on top of all you block trees:

You can type there all charts to be scanned. The bot just neds to be run on one single chart, though.
-
RE: Don't understand where is the problem...posted in Questions & Answers
Are you sure the objects the bot is looking for are visible and identified on the terminal's 'Object list' window?
-
RE: EA Build 2023posted in Questions & Answers
@mayfair21 You can remove all those 'set current timeframe' blocks and instead select the required timeframe inside the conditions blocks like this:

-
RE: Changing the color of the indicatorposted in Questions & Answers
That is the second thread you created for the exact same question. Please don't duplicate threads.
-
RE: How to open trade in directionposted in Questions & Answers
But then what you need is candle 1 to be closed to know direction. Doing it on candle ID 0 is just betting.
-
RE: compare And update Variableposted in Questions & Answers
@Elham You can share the link to your project this way:

-
RE: All The condition is correct, but wrong,delay entry or not entry at all.posted in Questions & Answers
Because what you see on the chart is a visual artefact of the backtesting process. Backtest charts do NOT represent the real conditions of the market AT THE EXACT moment it happens. If you select any of those wrong/inexisting entries and backtest it vissually at a very low speed you will check conditions were not met AT THAT MOMENT whereas they are met later. However, what we see is the final result. This is a very common issue when using several slow indicators like MACD.
-
RE: Break the trend line and determine the floor higher than the previous oneposted in Questions & Answers
The problem is defining those highs and lows. They are visually easy when the chart is looking at the past, but how can the bot now that LO2 is LO2 at the moment the candle there is in formation?
-
RE: Convert MT5 to MT4posted in Questions & Answers
He means you need to create it block by block on your builder. There is not an automatic tool to do that.


