Hi, sorry about the double post, wanted to include the code. I programmed an alert system for VT trader, it can be unzipped and installed as a trading system. Use the Trading systems builder import function.Then select the the params alerts of up trend and down trend . Set properties to set your envelope pip size. I added an alert shutoff range, called alert margin pip value. For example if you set your pip value for the envelope alert to 14 pips (50 ema envelope) then I put in 16 pips for the price exceed value alert shut off margin.
I much prefer version 2.0. rather than the newer one, less crashes
I hope the complete download works, because the inputs should be included. It still has the auto trade code, but I do not use it or really have tweaked it.
DataBars:= Ref(Pr,-HShift);
tmpMV:= Mov(DataBars,tPr,mt);
MA:= tmpMV+((tmpMV*VShift)/100);
UC:= MA + (Pips*SymbolPoint());
LC:= MA - (Pips*SymbolPoint());
UCC:= MA + (Pipscont*SymbolPoint());
LCC:= MA - (Pipscont*SymbolPoint());
{Trend Direction}
UpTrend:= Pr>UC And Pr<UCC;
DownTrend:= Pr<LC AND Pr>LCC;
{Long/Short Entry/Exit Display Signals}
Buy_Signal:= Cross(MA,UC);
Sell_Signal:= Cross(LC,MA);
Here is a similar paint bar alert for Quote tracker to be modified. It is set for $2.50 envelope from the 50 ema. Copy and paste into the complex expression paint bar editor.
if ABS(bar close-ema(50))>2.5 set color to Yellow and stop
This is not the step by step instructions to get these installed, let me know if you get stuck along the way. Also a random note, Meta trader gave me serious delays in real time forex tracking, check it on fast moving markets, VT is much better.
VT Envcros_alertzone.zip