Guarda come scaricare robot di trading gratuitamente
Ci trovi su Telegram!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Indicatori

Plot the previous candlestick OHLC of the selected period - indicatore per MetaTrader 5

Visualizzazioni:
3377
Valutazioni:
(3)
Pubblicato:
2023.09.10 15:14
Aggiornato:
2023.09.10 18:18
Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

This is an indicator which will automatically plot the previous highs and lows of the selected period with a colored horizontal line.



The indicator will maintain the previous high price and previous low price for the selected period when switching timeframe:


The default is plotting the previous day highs and lows.

You can adjust the period in the input so that you may also automatically plot the previous hourly highs and lows, the previous 30 minute highs and lows...and so on.


----------------------------------------------------

EDIT: An updated version now plots highs and lows as well as the open and close for the previous candle of the selected period.




    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.

    Drag and Drop Move TakeProfit Drag and Drop Move TakeProfit

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

    Stochastic code for beginners by William210 Stochastic code for beginners by William210

    Stochastic beginner tutorial to learn how to code in MQL5

    Automatic Chart Refresher Automatic Chart Refresher

    A tool which refreshes the chart automatically and will make active indicators update if something stopped plotting on the chart.