Voir comment télécharger gratuitement des robots de trading
Retrouvez-nous sur Telegram !
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
Scripts

Drag and Drop Move TakeProfit - script pour MetaTrader 5

Vues:
5852
Note:
(4)
Publié:
2023.09.09 15:00
MQL5 Freelance Besoin d'un robot ou d'un indicateur basé sur ce code ? Commandez-le sur Freelance Aller sur Freelance

Set TakeProfit by just dragging and dropping script on the desired price level.
Drag and Drop Move StopLoss Drag and Drop Move StopLoss

Set StopLoss by just dragging and dropping script on the desired price level.

Momentum  code for beginners by William210 Momentum code for beginners by William210

Momentum beginner tutorial to learn how to code in MQL5

Translating mouse click on chart into price value (Helper function) Translating mouse click on chart into price value (Helper function)

This is a helper function which enables you to find the price of the symbol (the prices on the Y-axis) wherever you click the mouse on the chart. Using OnChartEvent, we don't have an MQL5 function in the API to do this, we can only obtain X and Y pixel values with mouse click.

Plot the previous candlestick OHLC of the selected period Plot the previous candlestick OHLC of the selected period

It will automatically plot a colored horizontal line on the previous open/highs/lows/close of the selected period, and it will make the lines consistent on this price when switching timeframes.