Codes

Cross for MetaTrader 5

Simple code for Candle Cross above or below Conditions

Cross for MetaTrader 4

Candle Cross above or below Conditions

Forum

SignalBaseTotal() not returning any value in MQL5

Hi there.. Does "SignalBaseTotal()'" not supposed to return total signals on MT5? It returns and works fine on MT4.. but not MT5. am i missing something? int total= SignalBaseTotal (); Print ( "Total Signal==" + IntegerToString ( SignalBaseTotal ())); Returns 0 on MT5.. Returns 1000 on MT4

MQL5 Functions not returning values!!

Hi there!,, I have been testing and returning few small MQL5 functions.. but none are returning any values!.. eg. Such as Signal info, and History Transactions/Deals. double totalDeposits = 0.0 ; double totalWithdrawals = 0.0 ; // int totalDeals = HistoryOrdersTotal(); int totalDeals =

MT4 Android app account type watermark

Hi friends.. Good day to you all.. I have noticed something on MT4 app since couple of months ago.. I remember we use to have a live status watermark.. And now it's only demo watermark that's being displayed.. My app is upto date

Choose beetween "&&" or "||" via input parameter

I was able to make 2 options.. enum cnd{ AND= 0 , //AND OR= 1 , //OR }; input cnd Condition= AND; //Condition if (Condition==AND) { if (signal1() && signal2()) entry= true ; } else { if (signal1() || signal2()) entry= true ; } i have no idea to make multiple input

Page autorefreshing problem

Hello good day to you all.. Have any of you experienced this problem in freelance section.. etc.. The page automatically refresh almost every few seconds.. Whenever a message is sent .. or received.. etc.. This is getting too much.. I have asked few people .. they are facing same too

Converting Timeframe to Candles

Hello.. good day to you all.. am trying to use Interval between candles.. instead of Timeframe Periods i tried some other ways but am not getting it right at all... //+------------------------------------------------------------------+ //| PA

Hiding functions from source codes

HI.. good day to you all.. Am not sure if tis is possible is there a way to hide functions from source code.. .mq5 or mq4 eg. void TrailingStop() { //Trailing code } or instead calling it from a private website codes.. eg. void TrailingStop() { //get Trailing code function from my website

MultiCurrency EA

Hello, good day to you all.. am trying to make the code place trades on all selected pairs eg. buy signal from XAUUSD place XAUUSD buy, buy signal from GBPUSD place GBPUSD buy, etc.. the code.. its reading signal from selected symbol , but will place trades on first symbol eg. EURUSD,GBPUSD,XAUUSD

WHy cant i use optimized set file?

Hello.. good day to you all.. An EA is being optimized on another computer and then sent to me but i cant test the set files from the optimized sets after importing the .opti file i can select run single test, but unfortunately it runs "Moving Average.ex5" if i select the right EA in the testers

Types of computer server to use for local agent optimizations

Hello.. good day to you all i want to understand what type of computers are capable for optimizations i have searched but found no topic discussing about server computers for optimization Does any brand of server PC works with MT5 local optimization? Up to 512 processing cores in a 2U dense server -