Cromo
Cromo
Cromo
Added topic How to calclate total profit
I want to know total profit of open orders (BUY position + SELL position) I also want to include swap + comission. I don't want to use AccountProfit, so I tried to calculate total (BUY+SELL orders). I coded below but when I check with
Cromo
Added topic I want to stop EA in Dec, Jan only
I want to stop order by some moths. For example, from Feb to Nov, EA will trade but in Dec and Jan, EA stop trade. I put Stop moths in the array. If buy signal>0 and check to see if it is trade month or not. However, it is not working properly
Cromo
Added topic [ MQL] Please tell me how to select order by timeframe in one chart.
For example,the EA places orders (using iCustom signal in one chart). order#1  buy  (EA ordered with signal of time frame M5)  ---iCustom(NULL,5,"indicator name",0,1) order#2  buy (EA ordered with signal of time frame H1) 
Cromo
Added topic MQL) How to know order info in all charts by currency-pair?
Hi, I want to know information for open orders by currency in all charts. I have running the same EA in several charts 1. EU chart (TF=M1) 2.GJ chart (TF=M15) 3.UJ chart (TF=H1) 4. EU chart (TF=H1) 5. GJ chart (TF=H4) I can use   
Cromo
Added topic Hi, I want to select the newest order.
Hi, I want to select the newest order. Following code is for searching all orders? How can I modify the code  to select the only one order (newest one) ? I want to select only the newest order to compare the price, etc.... How can I know the
Cromo
Added topic How to separete indicator window?
Hi, there is an indicator in sub-window. I want to make arrow signal in main windows not sub-window. In the followings: #property indicator_separate_window #property indicator_buffers 7 #property indicator_color1 Red #property indicator_color2 Blue
Cromo
Added topic How to close the orders of same currency pair
I want to know how to close the orders of same currency pair . For example, There are three open orders. 1. EU buy order with TP/SL 2.GU sell order with TP/SL 3. EU sell order with TP/SL 4. UJ sell order with TP/SL Once the #1 reach to TP,  how
Cromo
Added topic MQL4 How to show each chart profit? AccountProfit() ?
Hi, I want to know current profit for each chart. I set 2 EA in each chart. USDJPY EA1 and current profit $12 GBPUSD EA2 and current profit -8$ ======================================== In this case, Account profit() =$12+(-$8) =$4. (total) but I want
Cromo
Added topic Can anyone advise how to make input parameters by iCustom?
Can anyone advise how to make input parameters by iCustom? Please see the attached picture . Is this correct? double indicator = iCustom(NULL,0,"indicator name",0,"Alert name",false,false,false,false,"alert.wav",0,1);
Cromo
Added topic Code example: How to know when BUY/SELL signal changes?
Hi, I have a question. Receiving buffer signal from the indicator, I want to make BUY/SELL order when trend color changes. Attached indicator shows buffer signal such as Buffer1 =BUY BUffer2 =SELL I can order if buffer1 or buffer2 is not EMPTY_VALUE
Cromo
Cromo
Hi, I am having a trouble to copy code from indicator (mql4).
Can anybody help to do it?
Cromo
Cromo
I am a very beginner for MQL and want to learn more!
Cromo
Added topic Can anyone help for iCustom for indicator?
Hi, I am having a trouble to use iCustom to get signal from an indicator. The indicator is "called2candles 1 pilot331"   and it is MQL4 file. You can download from here. https://forex-station.com/download/file.php?id=3324510 I want to get arrow
Cromo
Added topic The Drawdown difference between Quant analyzer and MT4 backtest
Hi, I have checked forward test data (MT4 report) by quant analyzer4 (software)  and it's draw-down is so small. Why is it? I have watched EA trading and it shows much bigger draw down actually. For example, during my EA trade, max draw down was
Cromo
Registered at MQL5.community
123