Forum

My account balance have get -12, why that happen.

Hello, I get charge of using agent =$15 event it have little balance in the account. Why that happen? I am using the agent always charge $1-$2 for one testing. Too worry, if one day it charge more than thaousand will be so bad and can not to pay.. I thing this is a mistake.. Chaiya

Using these 3 function : OnTester(), OnTesterInit(), OnTesterPass(),OnTesterDeinit() and have no result!

Hello, I try to test function OnTester(), OnTesterInit(), OnTesterPass(), OnTesterDeinit() using belows code. However It is print out only Ontester() but others is no log-result. Please advise what is wrong in using these function.. Chaiya

How to specify the Indicator windows in the indicator code..

Hello I am would like to attached RSI 14 and RSI 7 into same windows. So how to do that and how to specify this in the code!! Chaiya

I get ERROR 4756 during with using CTrade, Please help MQL5!

Hello I am so new in MQl5 programing, I program it by passing to CTrade Class, and found the error 4756, then I print check detail is follows.. This routine using.. //+------------------------------------------------------------------+ //| Modify specified opened position |

Invalid pointer access need help

Hello, I am new to OPP the MQL5 and I am going to convert my ea from MT4 to MT5. I start with testing the function from the standard OPP and have the error. " Invalid pointer access need" in runtime. the code that return code as follows. set up.. CExpertMoney * m_money ; // money

Use OPP to initialize Custom indicators has unclear to do so please advise..

Hello, I found that Make the EA with MQL5 is a good to have a complex and fast trading EA. So I am starting to code however I have a problem in custom indicators. It is necessary to pass some heavy calculation into the OnCalculation Functions for fast operation. So to use custom indicators is the

No result from decode with pass data between 2 routines.

Hello, I am write MT5, and would like to encode some data files, So i create the 2 routine for encode and decode password for testing, however the decode is not come when pass data between 2 routines, Please advise what is the wrong! .. int OnInit() { uchar crytPWD[] ; PassWord_Encode("455555"

I have some problem of 4107 -- invalid price

here is my code: // A7 // ticket=OrderSend(_Symbol,OP_SELL,sell_lots, Bid ,slippage,sell_SL,sell_TP,order_comment,magic,0); if(ticket>0) { signal_HA[iTF_HA_SL]=0; HA_last_trade_bartime[iTF_HA]=iTime(_Symbol,TF_HA,0); }

Error 148

Hello, I have a question with error 148. I checked the max pending with this code. int max_allowed_orders=(int)AccountInfoInteger(ACCOUNT_LIMIT_ORDERS); Some time results =0; What is the meaning? Is it mean no pending allow? But when I send manually pending order to the account, it is successful. So

I facing Error 130 from this trade routine

//+------------------------------------------------------------------+ datetime send_ha_order_bartime; //+------------------------------------------------------------------+ void send_ha_order( ENUM_TIMEFRAMES ha_TF, double lots, int magic) // { int stop_level=( int ) SymbolInfoInteger ( _Symbol