hi can anyone convert this simple ea to mq5/ex5?
Attached File(s)
Close5Profit.mq4
9 KB
|
205 downloads
I will code your EAs and Indicators for no charge 69,137 replies
Can MT4/MT5 Brokers steal Indi/EAs? 35 replies
EAs and indicators relating to moutaki... 22 replies
InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply
DislikedJust found this thread, thought I'd post the mq5 of a simple indi I made first in mq4 here. It's purpose is to allow thicker wicks (and bodies) to be drawn. {image} {file}Ignored
Disliked{quote} Can the Body of the candle be made wider than 5 for an MT5 version ? On a M15 chart at normal magnification, there is little difference when wicks set at 2 & Body at 5 I have the Thickwick Indicator for MT4 which works great : {file}Ignored
Disliked{quote} I could be wrong but it doesnt seem to be the case, mt4 can have thicker than 5 values, but not mt5.Ignored
DislikedHello all it will be really great help if someone convert this indicator to MT5 please Best Regards Nbr42 {file}Ignored
Disliked{quote} {quote} Bug fix and performance improvement. Please do not use old 1.xx versions. Result from this indicator looks very promising. But be aware don't get caught into trap. Indicator must be in folder: \MQL5\Indicators\joeef\MQ4toMQ5 and can't be renamed. In a few hours I'll release EA for this indicator. {file} {file} {image} {image}Ignored
DislikedHello! Could you help me to detect the error in line 78 of the mql5 code below (Thank you in advance):Ignored
#property indicator_chart_window #property indicator_buffers 2 #property indicator_plots 2 // Indicator parameters input int RSI_Period = 14; input int Buy_Level = 30; input int Sell_Level = 70; input string Push_Notif_Title = "RSI Alert"; input string Push_Notif_Buy = "RSI Buy Signal"; input string Push_Notif_Sell = "RSI Sell Signal"; // Indicator buffers double RSI_Buffer[]; double Level_Buffer[]; // Handle for push notification int Push_Notif_Handle; // Indicator initialization function int OnInit() { // Define the properties of indicator buffers SetIndexStyle(0, DRAW_LINE); SetIndexBuffer(0, RSI_Buffer); SetIndexLabel(0, "RSI"); SetIndexDrawBegin(0, RSI_Period); SetIndexStyle(1, DRAW_LINE); SetIndexBuffer(1, Level_Buffer); SetIndexLabel(1, "Level"); SetIndexDrawBegin(1, RSI_Period); // Create the push notification Push_Notif_Handle = PushNotificationCreate(); // Returns "true" to indicate successful initialization return (INIT_SUCCEEDED); } // Indicator calculation function 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[]) { // Calculate the RSI for each bar ArraySetAsSeries(RSI_Buffer, true); ArraySetAsSeries(Level_Buffer, true); int limit = rates_total - prev_calculated; for (int i = limit; i >= 0; i--) { RSI_Buffer[i] = iRSI(NULL, 0, RSI_Period, PRICE_CLOSE, i); Level_Buffer[i] = Buy_Level; if (RSI_Buffer[i] >= Sell_Level) { Level_Buffer[i] = Sell_Level; // Send a push notification if the RSI reaches the defined sell level PushNotificationSend(Push_Notif_Handle, Push_Notif_Title, Push_Notif_Sell); } else if (RSI_Buffer[i] <= Buy_Level) { Level_Buffer[i] = Buy_Level; // Send a push notification if the RSI reaches the defined buy level PushNotificationSend(Push_Notif_Handle, Push_Notif_Title, Push_Notif_Buy); } } // Returns "rates_total" to indicate that the calculation was successful return (rates_total); }
Disliked{quote} seriously, if you can find an alternative to this with close results I'd be dancing I've tried so many indicators with so many setups and different values, can't say I came close to this what I'm saying is I WISH you could find an alternative and again thank you very much for this, this can help everyone hereIgnored
Dislikedhello mr joeef i would like you to help me by adding a TF (M30) with the same settings as other timeframes in the jfMDS indicator please . thanks {file}Ignored