Indicator needed: Weekly Trend
Hello, I currently use an indicator which displays the current weekly trend status based on weekly data according to an MACD-like formula as a text message on an intraday chart. While this is sufficient for life trading, for manual backtesting I would like to have a bottom indicator which shows me past weekly trend states, e.g. wether the weekly trend was up or down 5 weeks ago. A bottom chart showing the oscillating values for "WDiff" would be great. And please remember I'd like to have this weekly trend shown on an intraday (H1, H4) chart. Thanks in advance!
Here are the relevant excerpts from my current indicator:
//---- indicators double curr_EMA21;
//---- Calculate the different weekly data
WDiff=((curr_SMA5-curr_EMA21) - (prev_SMA5-prev_EMA21));
if (WDiff > 0.0) Direction = "^^ UP ^^";
if (WDiff < 0.0) Direction = "vv DOWN vv";
Kalenzo, thanks for your great work. It's even better than I expected!
Still no alerts for this???
I would love it too.
Can you add alert to this indicator, when the zigzag change.
A sound/text alert please, with in the text the name of the currency which the indicator is attached.
simple cci zero line cross with arrow sound alert
greetings earthlings i hope you are all making big pips today.does anybody out there know where i can get a simple cci zero line cross that shows arrow alert on the chart with a sound alert.
Fan Simple4 - ma crosses with traffic light
StochTxt(komposter).mq4; arrows by/sell; txt lables, allert - true/false
" could be a stop at BE or if your stubborn a small loss"
i like this expession
Droesparky, you still keep ind. Shortname 'Zigzag'?
Forex Factory - View Single Post - Trend Hugger System
OsMA Color indicator with alert
AlertOn: You want MT4 alerts
EmailOn: You want MT4 to send email as configured in the platform
All this does is compare the most recent closed bar (so 1 bar ago) to the one before that. If the color is different, it generates an alert/email that says the color changed. At that point it's up to you to do any other due diligence, wait for another bar to close, etc.
Also, the alerting logic only runs once per bar, not per tick. So on the first tick of a newly opened bar, it looks at the prior two bars to detect a color change. It does not look at the newly opened bar at all. I thought of making sure it was the same color as the most recently closed bar, but decided not to as I think a lot of people are trading this system differently than others."
why do we need flagval2 & flagval1 and what it does?
p.s. mtf limit f-la updated:
//limit= MathMin(limit,MaxBarsToCount); // - if maxbarstocount (history)