Syarif Nur Arief / Publications
Forum
How to get Total Profit of Closed Position by Magic Number ??
Hello, below code is to show information of Total profit at current symbol and with time range 15 minutes. double CANDLE_POROFIT() { datetime CurentTime = TimeCurrent (); datetime PrevTime = iTime ( Symbol (), PERIOD_M15 , 1 ); HistorySelect (PrevTime,CurentTime); int trades_of_day =
Count Total Profit Closed Today in MQL5
Hello, in Mql4, this code is work nice to calculate total closed profit today (current day), double Today_Closed_Profit() { int time = 0 ; int order_nya = 0 ; double Profit_History = 0 ; datetime on11 = iTime ( Symbol (), PERIOD_D1 , 0 ); // Current open time datetime on111 =
Can not open Limit order on MT4 Android ??
Hello, This day i try to open limit order (buy limit on mt4 android). Even any other type of order ? But it can be done, please help and check by your self I use last version of mt4 for android phone. And of course not using investor password
Reading Closed Order Profit On Account History
Hello, i build EA that will make history reading for closed order profit for 5 Last closed order (Last 1 closed profit, Last 2 closed profit, Last 3 closed profit, Last 4 closed profit and Last 5 closed profit) below code is good reading if i only trade on only 1 pair, but the problem is coming when
Anti decompiler must be the new features for metaeditor
An EA is master pieces of the author and copyrighted, must be great if MQ4 Vendor can make automatically generated some code to make all compiled EA is can not decompile by hacker or by everyone except MQ4 vendor. if anybody agree please reply this thread, or if do not like reply with reason too. So
My signal is paid signal, but why ?
I saw on accounting page that other user subscribe to my paid signal (USD 30) but why not added on my balance ?, i saw too on signal statistic, there's a history that someone else subsribe on my signal and statistic show 22 USD, but i still can not see 22 USD on my balance ? Need moderator help
What's wrong with this ordercloseby function code ??
Can someone help me to correct this code void closeby1() { for ( int total = OrdersTotal () - 1 ; total>= 0 ; total--) { OrderSelect (total, SELECT_BY_POS, MODE_TRADES); if (OrderSymbol() == Symbol ()) { if (OrderSymbol() == Symbol () && (OrderComment() ==
How to convert OrderProfit() to pips or points ?
Let's say i have opened order 10 buy and 12 sell, and current order profit from OrderProfit() function is let's say 1 USD, and i have profit target 5 USD, with this situation, can i calculate 5 USD - 1 USD = 4 USD that mean 4 USD from current market price i can make order modify to all order with TP
How to Displaying broker max allowed open order ?
Dear all, can someone help me how to code or what is the code for displaying max allowed total order of broker ? regards
How To make some Risk Management on mt5 Expert Advisor
Please help, i still do not understand how to do that, Here example of Risk management pending order Buy on MQL4 language, it is work...., but how to make such that coding on MQL5 language ? Help me please, thanks #include <stdlib.mqh> #include <WinUser32.mqh> // exported variables extern int