Quantcast
Channel: MQL5: MetaTrader 5 trading, automated systems and strategy testing forum
Viewing all 75046 articles
Browse latest View live

Frequently Asked Questions about the Signals service

$
0
0

Hello please I need some help. First of all I want to put my signal as free, but it said its not possible(minimum amount is 20$) ( EDIT nevermind on that part, I read previous pages and it says you cannot have a free REAL account signal anymore). I cannot edit my signal, i cannot delete it, i cannot do anything. Also it says, that no one can subscribe it because my leverage was 1:888, and leverages above 1:500 are not allowed. SO i lowered my leverage to 1:500 , but still MQL says its 1:888 (which is not true anymore). Can someone PLEASE help me to :

 

1)Show me where i can set/adjust price(for example now is 20$ but maybe next month i want to have it 30$) and

2) make my signal subscribe-able since my leverage is now 1:500 ?

 

THANK YOU! :)

Im referring to this signal   https://www.mql5.com/en/signals/70180   and this is what i see when i to go my signals tab here  https://www.mql5.com/en/signals/my/all    (no way to edit it/delete it/adjust it)


How I can refund my money from mql5 market ?

$
0
0

Hello 

 

I bought expert advisor. but it did not work as he said. I put 200 $ on my forex account. but half of my money exploded because of him. I talked with him, he said if you bought from my website, I could refund you money but I cant refund your money for you bought expert from mql5 market. How is this a inteligence. this is fraud. I believed him and bought ea. What is my offence ? I believed reliability of metatrader. is there anybody can help me ? How can I contact with mql5 market administrator ?

A question for the Pin Bar Candle lovers :)

$
0
0

Hi friends 

what is the best method to find a Pin Bar Candle , no matter Bearish or Bullish Pin Bar ?

  

how to calculate swap ?

$
0
0
waza123:
why it shows $0.09 if I have only one overnight
SYMBOL_SWAP_ROLLOVER3DAYS ?

Discussion of article "MQL5 Programming Basics: Lists"

$
0
0
Its a good article and I think it was written to every one in Mql5 community because every thing is clearly explained.

Leverages of signal providers

$
0
0
I could not see the leverages used in EAs on the signal page of this site ... where should I look at for learning used leverages for reaching to the announced growth numbers for a specific EA?

Traders Joking

$
0
0

                                                               cartoon Style

 

Location of enum definitions

$
0
0

OK I think I see where I was going wrong.

The enum definitions are embedded in the compilation process and in line with OOP are private and so directly inaccessible to me the programmer. I can add my own if I want to, but they should also be private in any object I instantiate.

Am I on the right track?


What is the difference between "current order" and "current pending order"?

$
0
0

we have 4 types of pending orders:

------------------------------------------------

 

Buy Stop

 

Sell Limit 


 

-------------------------------------------------------             Ask  Line

--------------------------------------------------------            Bid  Line

 Buy Limit

 Sell Stop

EA IS NIT WORKING ON VPS

$
0
0
hi , maybe you're missing a library file

DIsplaying Ask/Bid

$
0
0

Hi,try this code :

 

 

///////////////////////////////////////////////////////////////

int     init(){

return 1; 

}


void OnTick(void)

  {

  double a = Bid-Ask;

  Alert("Bid :  " + Bid + "  __ Ask  " + Ask  + "Spread:" + a);

 }

/////////////////////////////////////////////////////////////// 

Is there any api that provide us to do a autotrade when a signal trigger from our own website

$
0
0

Hi, take a look to this url

https://www.mql5.com/en/code/10121 

Memory Limit with MetaTrader Terminal.

$
0
0

I believe your problem lies in software memory management side.  

Not hardware.  It's just like (almost) every Intel processor comes with a Turbo Boost Technology.  But whether your motherboard support Turbo Boost Technology or not, or whether did you switch on the Turbo Boost Technology switch in your motherboard is the question!!  If your processor has this feature but your motherboard don't support or you just simply didn't or forgot to switch on, it will only run in normal speed and may even experience problems because its optimal performance is only when you switch on Turbo Boost Technology in your motherboard and allows the processor to run optimally.

You may want to try to find and download some third party memory management software to run in your PC / dedicated VPS and see if MT5 gives problems or not when run with your EA.

By the way, what is the Windows OS you're using?  Trying using newer OS like Windows 8 if you have it.  I normally stop using older OS due to some persistent problems from some applications and upgrade to newer OS and the problems disappear. 

Hope it helps and good luck!

How to display info in right part of a chart?

$
0
0

You can:

ObjectCreate("_LABEL_", OBJ_LABEL, 0, 0, 0);
ObjectSetInteger(0,"_LABEL_",OBJPROP_CORNER,CORNER_RIGHT_UPPER);
ObjectSetInteger(0,"_LABEL_",OBJPROP_ANCHOR,ANCHOR_RIGHT_UPPER);
ObjectSetInteger(0,"_LABEL_",OBJPROP_SELECTABLE,0);
ObjectSetInteger(0,"_LABEL_",OBJPROP_XDISTANCE,10);
ObjectSetInteger(0,"_LABEL_",OBJPROP_YDISTANCE,30);

Whats the optimal Indicator settings for range, trade, and stop periods on different time frames?

$
0
0

I have a turtle indicator with Trade/Stop period, and depending on what time frame I'm in , it can either lag behind or be close to the up/down movement. 

Also, I have another indicator which uses range that I try to combine with the above. And the defaults on Range period isn't optimal in every time frame.

I'm sure time different time frames have a lot to do with different settings.

Any suggestions?


Scripts: Correct Gann fan

$
0
0

Hi andrey.

I downloaded all the 3 scripts but how do I apply them into the chart?

Thanks.

Time based EA

$
0
0

Hello,

 below you can see some standard time based buy/sell. for example at 10:00:00 he buys/sells,

but i wonder if you can put a pending order buy/sell the moment that the time is 10:00 with the high/low bar from previous 1hour bar,

i guess with this code you can get the  the high from the previous bar but i dont know how to put a pending order with that high of that previous 1hour bar,

hope someone can help :) 

   datetime curTime;

   curTime=Time[0];

   double getal2 = High[1];

    double getal3 = High[1]-0.00045; 

//+------------------------------------------------------------------+
//|                                                  time trader.mq4 |
//|                            Copyright © 2011, www.FxAutomated.com |
//|                                       http://www.FxAutomated.com |
//+------------------------------------------------------------------+
#property copyright "Copyright © 2011, www.FxAutomated.com"
#property link      "http://www.FxAutomated.com"
//---- input parameters

extern double    Lots=0.1;
extern int       TakeProfit=20;
extern int       StopLoss=20;
extern int       Slip=5;
extern int BuyMagicNumber =10001;
extern int SellMagicNumber =10002;
extern string TradeSettings="Mt4 time(min-max): hours 0-23, minutes 0-59, seconds 0-59";
extern bool AllowBuy=true;
extern bool AllowSell=true;
extern int  TradeHour=0;
extern int  TradeMinutes=0;
extern int  TradeSeconds=0;
extern string OurSite="www.FxAutomated.com";
extern string SignalsAndManagedAccounts="www.TradingBug.com";

//+------------------------------------------------------------------+
//| expert starts                                  |
//+------------------------------------------------------------------+
int start()
  {
//----
int StopMultd,Sleeper=1;



int digits=MarketInfo("EURUSD",MODE_DIGITS);
if(digits==5){StopMultd=10;} else{StopMultd=1;}
double TP=NormalizeDouble(TakeProfit*StopMultd,Digits);
double SL=NormalizeDouble(StopLoss*StopMultd,Digits);
int Slippage=Slip*StopMultd;

// Calculate stop loss
double slb=NormalizeDouble(Ask-SL*Point,Digits);
double sls=NormalizeDouble(Bid+SL*Point,Digits);

// Calculate take profit
double tpb=NormalizeDouble(Ask+TP*Point,Digits);
double tps=NormalizeDouble(Bid-TP*Point,Digits);

//-------------------------------------------------------------------+
//Check open orders
//-------------------------------------------------------------------+
if(OrdersTotal()>0){
  for(int i=1; i<=OrdersTotal(); i++)          // Cycle searching in orders
     {
      if (OrderSelect(i-1,SELECT_BY_POS)==true) // If the next is available
        {
          if(OrderMagicNumber()==BuyMagicNumber) {int halt1=1;}
          if(OrderMagicNumber()==SellMagicNumber) {int halt2=1;}
        }
     }
}
//-------------------------------------------------------------------+


if((halt1!=1)&&(AllowBuy==true)){// halt1

// Buy criteria
if ((TradeHour==Hour())&&(TradeMinutes==Minute())&&(TradeSeconds>=Seconds())) //Signal Buy
 {
   int openbuy=OrderSend(Symbol(),OP_BUY,Lots,Ask,Slippage,slb,tpb,"time trader buy order ",BuyMagicNumber,0,Blue);
   if(openbuy<1){int buyfail=1;}
 }

}// halt1

if((halt2!=1)&&(AllowSell==true)){// halt2
RefreshRates();
 // Sell criteria
 if ((TradeHour==Hour())&&(TradeMinutes==Minute())&&(TradeSeconds>=Seconds())) //Signal Sell
 {
   int opensell=OrderSend(Symbol(),OP_SELL,Lots,Bid,Slippage,sls,tps,"time trader sell order ",SellMagicNumber,0,Green);
   if(opensell<1){int sellfail=1;}
 }

}// halt2


//-------------------------------------------------------------------+
// Error processing
//-------------------------------------------------------------------+
if(buyfail==1||sellfail==1){
int Error=GetLastError();
  if(Error==130){Alert("Wrong stops. Retrying."); RefreshRates();}
  if(Error==133){Alert("Trading prohibited.");}
  if(Error==2){Alert("Common error.");}
  if(Error==146){Alert("Trading subsystem is busy. Retrying."); Sleep(500); RefreshRates();}

}

// if(openbuy==true||opensell==true)Sleep(1*60*1000*Sleeper);
//-------------------------------------------------------------------
   return(0);
  }
//+-----------------------------------

Problems with constants in prewritten Stochastic indicator

$
0
0
Hi everybody, unfortunately I didn't manage to find any valuable explanation for a problem.
I'm building a stochastic oscillattor from scratch based on the one built by MT4-5 team and located and named as Stochastic in the 'Indicators' folder.

Supposing they do not possess any value, how can constant variables like rates_total and prev_calculated be inserted in if operators as conditions?
Are these lines crucial for regular functioning of the indicator? Sorry if I don't get the point.
Here is a little part of the code:
int OnCalculate(const int rates_total,
                const int prev_calculated,
                const datetime &time[],
                const double &open[],
                const double &high[],
                const double &low[],
                const double &close[],
                const long &tick_volume[],
                const long &volume[],
                const int &spread[])

if(rates_total<=InpKPeriod+InpDPeriod+InpSlowing)
      return(0);
pos=InpKPeriod-1;
   if(pos+1<prev_calculated)
      pos=prev_calculated-2;
Thank you in advance!

Traders Joking

$
0
0

                                                      Our children - our happiness!

 

USDJPY Technical Analysis 2014, 30.11 - 07.12: Bullish within Triangle

$
0
0

D1 price is on primary bullish for trying the breakout on open D1 bar:

  • The price is breaking triangle pattern for uptrend
  • Nearest support level is 116.33
  • Nearest resistance level is 118.97

W1 price is on primary bullish since the end of October after the secondary correction.

MN price is on bullish breakout by breaking 112.46 support level on close MN1 bar..

If D1 price will break 116.33 support level so the secondary correction will be started
If D1 price will break 118.97 resistance level so the primary bullish will be continuing
If not so we may see the ranging within bullish market condition.

  • Recommendation for long: watch D1 price to break 118.97 resistance for possible buy trade
  • Recommendation to go short: watch D1 price to break 116.33 support level for possible sell trade
  • Trading Summary: bullish

UPCOMING EVENTS (high/medium impacted news events which may be affected on USDJPY price movement for this coming week)

2014-11-30 23:50 GMT (or 01:50 MQ MT5 time) | [JPY - Capital Spending]

2014-12-01 01:00 GMT (or 03:00 MQ MT5 time) | [CNY - Manufacturing PMI]

2014-12-01 01:35 GMT (or 03:35 MQ MT5 time) | [JPY - Manufacturing PMI]

2014-12-01 01:45 GMT (or 03:45 MQ MT5 time) | [CNY - HSBC Final Manufacturing PMI]

2014-12-01 15:00 GMT (or 17:00 MQ MT5 time) | [USD - ISM Manufacturing PMI]

2014-12-01 23:50 GMT (or 01:50 MQ MT5 time) | [JPY - Monetary Base]

2014-12-02 01:30 GMT (or 03:30 MQ MT5 time) | [JPY - Average Cash Earnings]

2014-12-05 13:30 GMT (or 15:30 MQ MT5 time) | [USD - Non-Farm Employment Change]

Please note : some US (and CNY) high/medium impacted news events (incl speeches) are also affected on USDJPY price movement

Resistance
 Support
118.56
117.23
118.97
116.33
N/A
112.46





SUMMARY : bullish

TREND : breakout
Viewing all 75046 articles
Browse latest View live