Forum

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

margin required

Good day everyone. Please how do I calculate margin required for MQL5 //I know the one for mql4 MarketInfo( Symbol (), MODE_MARGINREQUIRED) Thanks

OTP Confirmation Problem

Good day guys Please I've tried severally to make withdrawal, but the confirmation code is not delivering to my phone. I don't know what the issue is. Please help

Card Input for withdrawal not working

Hello Friends. Please I tried making withdrawal via bank card. The point to input the card details is not editable. Please help. Thanks

EA with DLL

Hello friends, I have an EA that uses DLL imports to read history data. It gives good results on backtest but fails in live trading. Please what could be the possible explanations

Unknown Purchase

Hello Friends I'm a freelancer. I just descovered that a purchase of an indicator worth $750 was made on my account. I didn't make the purchase. Please I need help. I've worked this money for over 6 months. Please help

Not getting The right value with MAGIC NUMBER

Hello friends. I have this code I wrote. I tried getting all the closed profits by magic number over a period of time. But it's not getting the right value. It works perfectly for mt4, but mt5 is not so clear, because if the concept of IN and OUT. The IN part has the magic number but the OUT part