Forum

symbol changer affects 1st chart time frame

Good day, I am writing a script for changing all the chart with the same symbol. All is ok BUT... if I drag and Drop the script not on the 1st terminal chart, the script change the 1st terminal chart timeframe , with the timeframe of the chart where it was dragged and dropped...why ? Can you gelp me

mql5 master candle

Good day, I tried for days to code a master candle indicator by myself, with no success. I need to draw the high/low of each master candle available on historical datas. Can someone help me very please. here is the function OnCalculate Regards. int shift, bar, limit= 0 ; //--- if

remove all borders

Hi there, i found this script to remove all windows borders. But infortunately, it does not work. Can you please help me (or fix it for the community) ? Regards //#property script_show_inputs #import "user32.dll" int SetWindowLongA( int hWnd, int nIndex, int dwNewLong); int GetWindowLongA( int

Detect New Month High/Low

Good day, I am trying to detect the higher/lower of month. I really can't see where i do wrong. Can you help me please ? datetime start_mnth = iTime ( NULL , PERIOD_MN1 , 0 ); MqlDateTime structure_date_mnth; TimeToStruct (start_mnth,structure_date_mnth); //--- week: USD_plus_hi =

numpad 5 by code (rescale y axis)

Good day, for complex reason here --> https://www.mql5.com/en/forum/72215 i need to simulate numpad 5 by code (or rescale y axis). Then my y scale is reinitialized when i change timeframe. Is it possible ? regards

bool always reinitialized to false.

Good day, i am writting an indicator of simple levels display. i can change the value true or false by a button. but when i change the time frame, the bool always return false. How i can fix it please ? Regards. nb : i have declared my bool in global, then tried in local but no success. //---

iFractals on a screener indicator

Good day, I am working on a personnal screener project with the fractals. I need to know if the current price is above the last up fractal, or below the last down fractal or flat. i have made this code, and my screener reacts with colors, but the result is totally wrong. Can someone heavily help me

MQL5 : gg trend bar with iMA.

Hello, I am trying to do a remake of the famous gg trend bar in MQL5. I failed for now, because the parameters for iMA are not the same anymore. I tried to understand with the documentation, but with no success. If i could not do it, i have to redo my own moving average with array (not ideal and

Hide object by string in description

Hello, I am trying to HIDE OBJECT according STRING character in the DESCRIPTION (and not in the name). Can you help me please. I have done so much trials with no success. thank you again. //|--- for the string character in the name for ( int i_obj= ObjectsTotal ()- 1 ;i_obj>= 0 ;i_obj--) {

Moving Average by Horizontal Line (Hline)

Hello, I am looking for a Horizontal line which do not display by the normal curved line, but instead, I only need it to show horizontal line level. Is someone already have it or, can lead me to do it myself ? Thanks