Forum

Indicator DRAW_FILLING not working peoperly

Hi Friends. I'm trying to create an indicator that shows green fill when price is above a certain level and a red fill when price is below a certain level. But the indicator keeps returning only the red fill. Code is attached below. Please help me have a look. Thanks #property

FindWindowW() retiurning 0 when used within Indicator code

Hello Friends Please help me look into this code. It works well inside EA to addach custom indicator to chart. But when used as an indicator, it doesn't work. It Opens the indicator Dialogue, but doesn't click "OK" to add the indicator to chart. The code is MQL4 Thanks #import "user32.dll" int

Restriction From Applying for Freelance Jobs

Hello Friends I'm a developer on this platform. My account was restricted. I contacted support and I was told that it was because I applied for a job with decompiled code. But support hasn't replied me to tell me the way forward. Please what should I do? Please has anyone faced similar problems

Multiple Metatrader Terminals on Mac

Good day friends I'm currently using Mac book air. Please I'm looking for a way to install multiple Metatrader terminals on ma mac. I could do this when I was using a Windows PC, but not work Mac. Please help. Thanks

Histogram Not Drawing properly

Hello Friends Please Help me check while the Histogram isn't drawing properly. I'm trying to convert from mql4 to mql5. I'm getting correct buffer values but the drawings are not correct #property copyright "" #property link "" #property version "1.00" #property strict #property

EMPTY_VALUE Buffer returning a value in strategy tester

Hi friends Please I have an indicator which have 3 buffers. The 3rd buffer should return EMPTY_VALUE for buy condition OR same value as second Buffer in sell condition. But in strategy tester , the indicator constantly returns thesame value for first and second buffers. Please help me take a look

Position Commission

Hello Friends I've been trying to get the commission of opened positions but it's not working. I used P.Commission(), but it's returning 0

Make Buttons Work on MQL5 backtest

Hello friends Please I'm trying to make my gui buttons work on MT5 backtest Below is the code I used Please help. Thanks long lparam = 0 ; double dparam = 0.0; string sparam = ""; sparam = "btnLines"; if( bool( ObjectGetInteger( 0, sparam, OBJPROP_STATE ) ) ) OnChartEvent(

Custom Indicator Slow to Load

Good morning friends. I made a custom indicator. But it causes the chart to stop for minutes especially on lower timeframes. Please help me review the code. Thanks. //+------------------------------------------------------------------+ //| StochRSI

DRAW_FILLING Problems

Hello Friends Please I'm working on an indicator that is supposed to draw_filling on the chart just like a rectangle. Its not working. I tried rectangle create with thesame calculations and it works perfectly. Please help me look into my code