Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Facebook !
Rejoignez notre page de fans
Un script intéressant ?
Poster un lien vers celui-ci -
laisser les autres l'évaluer
Vous avez aimé le script ? Essayez-le dans le terminal MetaTrader 5
Experts

New Candle or Bar formation. - expert pour MetaTrader 5

Vues:
1624
Note:
(2)
Publié:
2025.04.03 21:57
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

New candle formation code

This Bot detects the open of a new candle on any set timeframe, thereby making it easier to run a one-time code, place trades and call other functions. The code is written in the OnTick() function.

the PERIOD_CURRENT is the timeframe at which you want to detect a new candle formation, you can change it to your preferred timeframe.

Detecting the start of a new bar or candle Detecting the start of a new bar or candle

Detecting the start of a new bar or candle in an Expert Advisor's OnTick() event handler.

Calendar Calendar

Calendar - fundamental analysis on history and real-time.

Back kick Back kick

Algorithm cycle: when there are no open positions, open two opposite positions. Wait for both positions to close.

MA Trend 2 MA Trend 2

Trading system by iMA indicator (Moving Average, MA). Development of MA Trend.