Forum

How to get available margin percentage

Hi, How to get an available margin percentage as shown in the MT4? I would like to stop opening new order when margin percentage below 150% If there is no code to get it directly, what value do I need to know in order to calculate? Thank you in advance

Can I promote my Trading signal on social media?

Hi, I just curious that is it prohibit to promote an MQL signal somewhere on the internet

How to check is H8 chart already closed on H1's EA ?

Hi, I'm trying to use EA on H8 but it seem not working in H8 offline chart. So, my idea is to use EA on H1 and get value of H8, just no idea how to check that H8 already closed or not. Thanks in advance :)

Is it possible to convert lot size for signal follower's fund size ?

Hi I'm considering to sell my signal but have a concern about lot size. I guest that all follower will have the exact lot size according to the signal If my EA open order at 1 micro lot which is best for my fund, Is it possible to automatically change lot size at follower's side ? Another question

How to retry order on failed order ?

Hi My EA is now working on H4 timeframe, everything work fine but sometime I got an error like this "order buy 0.5 EURJPY opening at market sl: 122.232 tp: 125.028 failed [Market is closed]" also cannot close position with this error "order sell 0.5 EURNZD closing at 0.00000 failed [Market is

How to get THV Trend indicator value ?

Hi I am trying to use iCustom to get THV Trend's value. Here's my code double THVTrendDwn = iCustom ( NULL , 0 , "THV trend" , 0 , 1 ); double THVTrendUp = iCustom ( NULL , 0 , "THV trend" , 1 , 1 ); double THVTrendFlat = iCustom ( NULL , 0 , "THV trend" , 2 , 1 ); It always return 0 for

How can I set SL to minimal SL ?

Hi, How to make my EA set SL to minimal StopLoss ? Some pair require minimum 10 pips for SL/TP, some may more than 10 pips Can anyone please advise Thanks in advance

iCustom return nothing from Stoch Crossing

#property copyright "Copyright ฉ 2005-07, Jason Robinson (jnrtrading)" #property link "http://www.jnrtrading.co.uk/" #property indicator_chart_window #property indicator_buffers 2 #property indicator_color1 DarkGreen #property indicator_width1 3 #property indicator_color2 Red #property

How to get Color and Level from Robby DSS using iCustom ?

#property copyright "Copyright 2008, MetaQuotes Software Corp." #property link "http://www.metaquotes.net/" #property indicator_separate_window #property indicator_minimum 0 #property indicator_maximum 100 #property indicator_buffers 3 #property indicator_color1 OrangeRed #property

How to get crossed arrow from this indicator ?

//+------------------------------------------------------------------+ //| Special_RSI_ARROW.mq4 | //| Copyright 2009, leMai | //+------------------------------------------------------------------+ #property