New metatrader 4 compatible indicators - page 179

orcun1234
176
orcun1234  

I am sorry Mladen, i saw it later. I will try for it. Thanks.

El-Nur
119
El-Nur  
mladen:
That is made as an indicator Just copy it to indicators folder and it will work

Thanks mladen.

samuelkanu
164
samuelkanu  

This indicator seems not to be working on the new mt4 build. Please mladen/mrtools could you please look into it

Mladen Rakic
160087
Mladen Rakic  
samuelkanu:
This indicator seems not to be working on the new mt4 build. Please mladen/mrtools could you please look into it

samuelkanu

here is an updated version : kdj_histo_mtfalerts_nmc.mq4

chirag77
122
chirag77  

Please change this non repainting zigzag indicator into new MT4 compatible/turn into nmc version. Thanks in advance.

Files:
Mladen Rakic
160087
Mladen Rakic  
chirag77:
Please change this non repainting zigzag indicator into new MT4 compatible/turn into nmc version. Thanks in advance.

chirag77

Here you go : zz_mtf_xo_a_nmc.mq4

Files:
tim4dexlus
41
tim4dexlus  

I get a return value of 'OrderSend' should be checked error when i compile this with latest metatrader.

if possible Mladen could you fix the script?

thank you.

//+------------------------------------------------------------------+

//| RapidFire.mq4 |

//| Copyright © 2006, Taylor Stockwell |

//| stockwet@yahoo.com |

//+------------------------------------------------------------------+

#property copyright "Copyright © 2006, Taylor Stockwell"

#property link "stockwet@yahoo.com"

/*double S1_Lots;

double S2_Lots;

double S3_Lots;

double S4_Lots;

double S5_Lots;

double S6_Lots;

double S7_Lots;

double S8_Lots;

double S9_Lots;

double S10_Lots;

double S11_Lots;

double S12_Lots;

double S13_Lots;

double S14_Lots;*/

#property show_inputs

extern double Lots = 0.1;

extern string Symbol_1 = "GBPUSD";

extern bool S1_Buy = true;

extern double S1_Lots = 0.1;

extern string Symbol_2 = "EURJPY";

extern bool S2_Buy = true;

extern double S2_Lots = 0.1;

extern string Symbol_3 = "GBPJPY";

extern bool S3_Buy = true;

extern double S3_Lots = 0.1;

extern string Symbol_4 = "NZDUSD";

extern bool S4_Buy = true;

extern double S4_Lots = 0.1;

extern string Symbol_5 = "AUDJPY";

extern bool S5_Buy = true;

extern double S5_Lots = 0.1;

extern string Symbol_6 = "EURGBP";

extern bool S6_Buy = false;

extern double S6_Lots = 0.1;

extern string Symbol_7 = "USDCHF";

extern bool S7_Buy = false;

extern double S7_Lots = 0.1;

extern string Symbol_8 = "GBPCHF";

extern bool S8_Buy = true;

extern double S8_Lots = 0.1;

extern string Symbol_9 = "EURCHF";

extern bool S9_Buy = true;

extern double S9_Lots = 0.1;

extern string Symbol_10 = "USDJPY";

extern bool S10_Buy = true;

extern double S10_Lots = 0.1;

extern string Symbol_11 = "AUDUSD";

extern bool S11_Buy = true;

extern double S11_Lots = 0.1;

extern string Symbol_12 = "NZDJPY";

extern bool S12_Buy = true;

extern double S12_Lots = 0.1;

extern string Symbol_13 = "EURUSD";

extern bool S13_Buy = true;

extern double S13_Lots = 0.1;

extern string Symbol_14 = "CHFJPY";

extern bool S14_Buy = true;

extern double S14_Lots = 0.1;

int magic=9502;

//+------------------------------------------------------------------+

//| script program start function |

//+------------------------------------------------------------------+

int start()

{

//S1_Lots = Lots;

if(S1_Lots > 0)

{

if(S1_Buy == 1)

OrderSend(Symbol_1,OP_BUY, S1_Lots, MarketInfo(Symbol_1,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_1,OP_SELL, S1_Lots, MarketInfo(Symbol_1,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S2_Lots = Lots;

if(S2_Lots > 0)

{

if(S2_Buy == 1)

OrderSend(Symbol_2,OP_BUY, S2_Lots, MarketInfo(Symbol_2,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_2,OP_SELL, S2_Lots, MarketInfo(Symbol_2,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S3_Lots = Lots;

if(S3_Lots > 0)

{

if(S3_Buy == 1)

OrderSend(Symbol_3,OP_BUY, S3_Lots, MarketInfo(Symbol_3,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_3,OP_SELL, S3_Lots, MarketInfo(Symbol_3,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S4_Lots = Lots;

if(S4_Lots > 0)

{

if(S4_Buy == 1)

OrderSend(Symbol_4,OP_BUY, S4_Lots, MarketInfo(Symbol_4,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_4,OP_SELL, S4_Lots, MarketInfo(Symbol_4,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S5_Lots = Lots;

if(S5_Lots > 0)

{

if(S5_Buy == 1)

OrderSend(Symbol_5,OP_BUY, S5_Lots, MarketInfo(Symbol_5,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_5,OP_SELL, S5_Lots, MarketInfo(Symbol_5,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S6_Lots = Lots;

if(S6_Lots > 0)

{

if(S6_Buy == 1)

OrderSend(Symbol_6,OP_BUY, S6_Lots, MarketInfo(Symbol_6,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_6,OP_SELL, S6_Lots, MarketInfo(Symbol_6,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S7_Lots = Lots;

if(S7_Lots > 0)

{

if(S7_Buy == 1)

OrderSend(Symbol_7,OP_BUY, S7_Lots, MarketInfo(Symbol_7,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_7,OP_SELL, S7_Lots, MarketInfo(Symbol_7,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S8_Lots = Lots;

if(S8_Lots > 0)

{

if(S8_Buy == 1)

OrderSend(Symbol_8,OP_BUY, S8_Lots, MarketInfo(Symbol_8,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_8,OP_SELL, S8_Lots, MarketInfo(Symbol_8,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S9_Lots = Lots;

if(S9_Lots > 0)

{

if(S9_Buy == 1)

OrderSend(Symbol_9,OP_BUY, S9_Lots, MarketInfo(Symbol_9,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_9,OP_SELL, S9_Lots, MarketInfo(Symbol_9,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S10_Lots = Lots;

if(S10_Lots > 0)

{

if(S10_Buy == 1)

OrderSend(Symbol_10,OP_BUY, S10_Lots, MarketInfo(Symbol_10,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_10,OP_SELL, S10_Lots, MarketInfo(Symbol_10,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S11_Lots = Lots;

if(S11_Lots > 0)

{

if(S11_Buy == 1)

OrderSend(Symbol_11,OP_BUY, S11_Lots, MarketInfo(Symbol_11,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_11,OP_SELL, S11_Lots, MarketInfo(Symbol_11,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S12_Lots = Lots;

if(S12_Lots > 0)

{

if(S12_Buy == 1)

OrderSend(Symbol_12,OP_BUY, S12_Lots, MarketInfo(Symbol_12,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_12,OP_SELL, S12_Lots, MarketInfo(Symbol_12,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S13_Lots = Lots;

if(S13_Lots > 0)

{

if(S13_Buy == 1)

OrderSend(Symbol_13,OP_BUY, S13_Lots, MarketInfo(Symbol_13,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_13,OP_SELL, S13_Lots, MarketInfo(Symbol_13,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S14_Lots = Lots;

if(S14_Lots > 0)

{

if(S14_Buy == 1)

OrderSend(Symbol_14,OP_BUY, S14_Lots, MarketInfo(Symbol_14,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_14,OP_SELL, S14_Lots, MarketInfo(Symbol_14,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

return(0);

}

//+------------------------------------------------------------------+
Mladen Rakic
160087
Mladen Rakic  
tradestate:
I get a return value of 'OrderSend' should be checked error when i compile this with latest metatrader.

if possible Mladen could you fix the script?

thank you.

//+------------------------------------------------------------------+

//| RapidFire.mq4 |

//| Copyright © 2006, Taylor Stockwell |

//| stockwet@yahoo.com |

//+------------------------------------------------------------------+

#property copyright "Copyright © 2006, Taylor Stockwell"

#property link "stockwet@yahoo.com"

/*double S1_Lots;

double S2_Lots;

double S3_Lots;

double S4_Lots;

double S5_Lots;

double S6_Lots;

double S7_Lots;

double S8_Lots;

double S9_Lots;

double S10_Lots;

double S11_Lots;

double S12_Lots;

double S13_Lots;

double S14_Lots;*/

#property show_inputs

extern double Lots = 0.1;

extern string Symbol_1 = "GBPUSD";

extern bool S1_Buy = true;

extern double S1_Lots = 0.1;

extern string Symbol_2 = "EURJPY";

extern bool S2_Buy = true;

extern double S2_Lots = 0.1;

extern string Symbol_3 = "GBPJPY";

extern bool S3_Buy = true;

extern double S3_Lots = 0.1;

extern string Symbol_4 = "NZDUSD";

extern bool S4_Buy = true;

extern double S4_Lots = 0.1;

extern string Symbol_5 = "AUDJPY";

extern bool S5_Buy = true;

extern double S5_Lots = 0.1;

extern string Symbol_6 = "EURGBP";

extern bool S6_Buy = false;

extern double S6_Lots = 0.1;

extern string Symbol_7 = "USDCHF";

extern bool S7_Buy = false;

extern double S7_Lots = 0.1;

extern string Symbol_8 = "GBPCHF";

extern bool S8_Buy = true;

extern double S8_Lots = 0.1;

extern string Symbol_9 = "EURCHF";

extern bool S9_Buy = true;

extern double S9_Lots = 0.1;

extern string Symbol_10 = "USDJPY";

extern bool S10_Buy = true;

extern double S10_Lots = 0.1;

extern string Symbol_11 = "AUDUSD";

extern bool S11_Buy = true;

extern double S11_Lots = 0.1;

extern string Symbol_12 = "NZDJPY";

extern bool S12_Buy = true;

extern double S12_Lots = 0.1;

extern string Symbol_13 = "EURUSD";

extern bool S13_Buy = true;

extern double S13_Lots = 0.1;

extern string Symbol_14 = "CHFJPY";

extern bool S14_Buy = true;

extern double S14_Lots = 0.1;

int magic=9502;

//+------------------------------------------------------------------+

//| script program start function |

//+------------------------------------------------------------------+

int start()

{

//S1_Lots = Lots;

if(S1_Lots > 0)

{

if(S1_Buy == 1)

OrderSend(Symbol_1,OP_BUY, S1_Lots, MarketInfo(Symbol_1,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_1,OP_SELL, S1_Lots, MarketInfo(Symbol_1,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S2_Lots = Lots;

if(S2_Lots > 0)

{

if(S2_Buy == 1)

OrderSend(Symbol_2,OP_BUY, S2_Lots, MarketInfo(Symbol_2,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_2,OP_SELL, S2_Lots, MarketInfo(Symbol_2,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S3_Lots = Lots;

if(S3_Lots > 0)

{

if(S3_Buy == 1)

OrderSend(Symbol_3,OP_BUY, S3_Lots, MarketInfo(Symbol_3,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_3,OP_SELL, S3_Lots, MarketInfo(Symbol_3,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S4_Lots = Lots;

if(S4_Lots > 0)

{

if(S4_Buy == 1)

OrderSend(Symbol_4,OP_BUY, S4_Lots, MarketInfo(Symbol_4,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_4,OP_SELL, S4_Lots, MarketInfo(Symbol_4,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S5_Lots = Lots;

if(S5_Lots > 0)

{

if(S5_Buy == 1)

OrderSend(Symbol_5,OP_BUY, S5_Lots, MarketInfo(Symbol_5,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_5,OP_SELL, S5_Lots, MarketInfo(Symbol_5,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S6_Lots = Lots;

if(S6_Lots > 0)

{

if(S6_Buy == 1)

OrderSend(Symbol_6,OP_BUY, S6_Lots, MarketInfo(Symbol_6,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_6,OP_SELL, S6_Lots, MarketInfo(Symbol_6,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S7_Lots = Lots;

if(S7_Lots > 0)

{

if(S7_Buy == 1)

OrderSend(Symbol_7,OP_BUY, S7_Lots, MarketInfo(Symbol_7,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_7,OP_SELL, S7_Lots, MarketInfo(Symbol_7,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S8_Lots = Lots;

if(S8_Lots > 0)

{

if(S8_Buy == 1)

OrderSend(Symbol_8,OP_BUY, S8_Lots, MarketInfo(Symbol_8,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_8,OP_SELL, S8_Lots, MarketInfo(Symbol_8,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S9_Lots = Lots;

if(S9_Lots > 0)

{

if(S9_Buy == 1)

OrderSend(Symbol_9,OP_BUY, S9_Lots, MarketInfo(Symbol_9,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_9,OP_SELL, S9_Lots, MarketInfo(Symbol_9,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S10_Lots = Lots;

if(S10_Lots > 0)

{

if(S10_Buy == 1)

OrderSend(Symbol_10,OP_BUY, S10_Lots, MarketInfo(Symbol_10,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_10,OP_SELL, S10_Lots, MarketInfo(Symbol_10,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S11_Lots = Lots;

if(S11_Lots > 0)

{

if(S11_Buy == 1)

OrderSend(Symbol_11,OP_BUY, S11_Lots, MarketInfo(Symbol_11,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_11,OP_SELL, S11_Lots, MarketInfo(Symbol_11,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S12_Lots = Lots;

if(S12_Lots > 0)

{

if(S12_Buy == 1)

OrderSend(Symbol_12,OP_BUY, S12_Lots, MarketInfo(Symbol_12,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_12,OP_SELL, S12_Lots, MarketInfo(Symbol_12,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S13_Lots = Lots;

if(S13_Lots > 0)

{

if(S13_Buy == 1)

OrderSend(Symbol_13,OP_BUY, S13_Lots, MarketInfo(Symbol_13,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_13,OP_SELL, S13_Lots, MarketInfo(Symbol_13,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

//S14_Lots = Lots;

if(S14_Lots > 0)

{

if(S14_Buy == 1)

OrderSend(Symbol_14,OP_BUY, S14_Lots, MarketInfo(Symbol_14,MODE_ASK), 2, NULL, NULL, "RapidFire", magic, NULL, LimeGreen);

else

OrderSend(Symbol_14,OP_SELL, S14_Lots, MarketInfo(Symbol_14,MODE_BID), 2, NULL, NULL, "RapidFire", magic, NULL, FireBrick);

}

return(0);

}

//+------------------------------------------------------------------+

tradestate

Here is a version without those warnings : rapidfire.mq4

Files:
tim4dexlus
41
tim4dexlus  

hi Mladen,

thanks for the help, works perfectly!

talaate
967
talaate  

All time frame MACD indicators

Hej Mladen

can you add signal mode option to All time frame MACD bars compiled indicator and make the default fast and slow ema are 13 and 34.

Thanks

Talaat E