Forum

Problem with MTF Trendline Indicator

Hello i want to create a trendline on 4hr Timeframe and access the starting point price of the trendline (or any shift of the trendline) on all the other timeframes. From 1min to Daily timeframes i get the correct price but on weekly and montlhy the price i get is 0 How can i get the correct price

MTF Indicator Problem with M1 Candles Loading

Hello i created an MTF Indicator that shows the price of last candle's high price of the latest formed candle from M1 timeframe #property copyright "Copyright 2020" #property link "https://www.mql5.com" #property version "1.00" #property strict #property indicator_chart_window

White dots on Basing Candles

Can you tell me what kind of code i should use to create those white dots on basing candles

Change Input Variable Programmatically

Is there any way to chnge the input value from a variable programatically... Lets say we have extern x=5,,,and on input parameters appears x=5 Can i change it within the code and make it x=10 and input parameter change from x=5 to x=10? I know within the code i can change the input parameter but on

How to get a Variable Not to Initialize when timeframe changes??

Please anybody could inform me how it is possible for a variable not to be initialize every time the timeframe changes... I want to create an MTF indicator and some prices of variables should stay the same when timeframe changes and not initialize them again

ObjectSetInteger ERROR in MQL5..any advice please?

I am trying to create a simple indicator on Mql5 but i get an ERROR when i compile it... Could anyone help me please? int OnCalculate ( const int rates_total, const int prev_calculated, const datetime &time[], const double &open[]