is a friendly guy here giving this indicator a push notification?
Attached File(s)
price_cross_ma_alerts.mq4
3 KB
|
332 downloads
I will code your pivot EAs for no charge 23 replies
I will code your scalping EAs for no charge 163 replies
Oanda MT4 - Indicators and EAs not showing 2 replies
EAs and indicators relating to moutaki... 22 replies
InterbankFX has loaded its MT4 platform with custom EAs, indicators and scripts 1 reply
Disliked{quote} Jims Horizontal Lines - LOL //+------------------------------------------------------------------+ //| Jims Horisontal Lines.mq5 | //| Copyright 2019, Jim Nyberg, All rights reserved. | //| http://www.addicted2cold.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2019, Jim Nyberg, All rights reserved." #property link "www.addicted2cold.com" #property version "1.10" My recall is the above code was posted and given by coder Nicholishen. And as per Nicholishen habit and hallmark it...Ignored
Disliked{quote} Jims Horizontal Lines - LOL //+------------------------------------------------------------------+ //| Jims Horisontal Lines.mq5 | //| Copyright 2019, Jim Nyberg, All rights reserved. | //| http://www.addicted2cold.com | //+------------------------------------------------------------------+ #property copyright "Copyright 2019, Jim Nyberg, All rights reserved." #property link "www.addicted2cold.com" #property version "1.10" My recall is the above code was posted and given by coder Nicholishen. And as per Nicholishen habit and hallmark...Ignored
QuoteDislikedI have not found a solution to deleting the grid without inclusion of the ObjectFind code if the indicator is removed from the chart. I am out of Time. If I solve will post. Any TESTED solutions welcome.
Like I said originally, this is the default behavior of the chart object classes.
So now that literally every point you've brought up in an attempt to soil my name has been completely destroyed (pun intended), I'd like to invite you to put an end to this childish flame war. What do you say? Do you have time for that?
Disliked{quote} IIRC, this was a snippet I posted to help someone over at mql5.com. I find it totally hilarious that you can instantly recognize my code under someone else's copyright just by my style alone, yet you accuse me of "peddling code" in the same breath. I also find it interesting how toxic you've allowed yourself to become just from my reply to the question that you invited. {quote} Additionally, I like how you are making a point to strongly emphasize that the code I posted is not tested (it is) and that it does not remove the grid (it does)....Ignored
Disliked{quote} I didnt mean to step on your toes with my Copyright puke, And i can attest that the indicator Works FLAWLESS, And it removes the lines when indicator is detached. i am very grateful, {image} {file} {file}Ignored
DislikedMQL5 - Better Price needs some Love, How it looks now bottom pic: How to make it look top pic?: Adding a "5 bar" long trendline between "Bid" and "Price Label" ### CODE STARTS HERE ### #property version "1.10" #property indicator_chart_window #property indicator_plots 0 #include <charts/chart.mqh> #include <chartobjects/chartobjectsarrows.mqh> CChart g_chart; CChartObjectArrowRightPrice g_bid; int OnInit() { g_chart.Attach(); g_chart.ShowLineAsk(false); g_chart.ShowLineBid(false); g_bid.Create(0, "__bid", 0, 0, 0.0); return(INIT_SUCCEEDED); } int...Ignored
#property indicator_chart_window #property indicator_plots 0 #define PREFIX "__bidline__" #include <chartobjects/chartobjectsarrows.mqh> #include <chartobjects/chartobjectslines.mqh> input int inp_bar_len = 5;//Length of bid line in bars class BidLine : public CObject { CChartObjectArrowRightPrice m_tag; CChartObjectTrend m_line; int m_length; double m_last_price; public: int create(int bar_length); void ontick(double price, datetime time_zero); }; BidLine g_bid; int OnInit() { ObjectsDeleteAll(0, PREFIX); ChartSetInteger(0, CHART_SHOW_BID_LINE, false); return g_bid.create(inp_bar_len); } 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[]) { int i = rates_total - 1; g_bid.ontick(close[i], time[i]); return rates_total; } int BidLine::create(int bar_length) { m_last_price = WRONG_VALUE; m_length = bar_length; bool created = ( m_tag.Create(0, PREFIX + "tag", 0, 0, 0.0) && m_line.Create(0, PREFIX + "line", 0, 0, 0.0, 0, 0.0) ); return created ? INIT_SUCCEEDED : INIT_FAILED; } void BidLine::ontick(double price, datetime time_zero) { bool time_change = m_line.Time(0) != time_zero; bool price_change = m_last_price != price; if (!time_change && !price_change) return; if (m_last_price != price) { color clr = price > m_last_price ? clrLimeGreen : clrRed; m_tag.Price(0, price); m_line.Price(0, price); m_line.Price(1, price); m_tag.Color(clr); m_line.Color(clr); } if (time_change) { datetime end = time_zero + m_length * PeriodSeconds(PERIOD_CURRENT); m_tag.Time(0, end); m_line.Time(0, time_zero); m_line.Time(1, end); } m_last_price = price; }
Disliked{quote} Try this. #property indicator_chart_window #property indicator_plots 0 #define PREFIX "__bidline__" #include <chartobjects/chartobjectsarrows.mqh> #include <chartobjects/chartobjectslines.mqh> input int inp_bar_len = 5;//Length of bid line in bars class BidLine : public CObject { CChartObjectArrowRightPrice m_tag; CChartObjectTrend m_line; int m_length; double m_last_price; public: int create(int bar_length); void ontick(double price, datetime time_zero); }; BidLine g_bid; int OnInit() { ObjectsDeleteAll(0, PREFIX); ChartSetInteger(0, CHART_SHOW_BID_LINE,...Ignored
Disliked{quote} Great, thanks, I will try that out Wonder how they allow these mistakes into Codebase, or did an update cause this?Ignored
DislikedHello all. I need help. Could anybody make a multi timeframe dashboard on my custom indicator? Just a Green and Red alert will do. I need all timeframe M1, M5, M15, M30, H1, H4, D1, Week, and Mnth. Please help me {file} {file}Ignored
DislikedHello all. I need help. Could anybody make a multi timeframe dashboard on my custom indicator? Just a Green and Red alert will do. I need all timeframe M1, M5, M15, M30, H1, H4, D1, Week, and Mnth. Please help me {file} {file}Ignored
Disliked{quote} The solution is to completely refactor the way these objects are named. When you use a unique prefix per indicator (regardless of chart, symbol, etc.) then you can call ObjectsDeleteAll (important for the template glitch) using the prefix. Also, each object should be removed when the chart deinitializes which is easy to do when you use the lines classes because that is the default behavior. I've done a quick refactor and the lag issues are gone. #property version "1.00" #property indicator_chart_window #include <chartobjects/chartobjectslines.mqh>...Ignored