Expert Advisor ATR Envelope tfmt5

Buy ATR Envelope tfmt5 Expert Advisor in the store selling algo trading systems

The Aver­age True Range Enve­lope sys­tem has an entry based on the price break­ing out of an upper or low­er enve­lope cre­at­ed by an ATR mul­ti­ple around a sim­ple mov­ing aver­age. As the price breaks out of the enve­lope, this EA opens a new posi­tion to catch a trend if the price con­tin­ues to move. The SMA in the mid­dle of the envelopes is used as a trail­ing exit when the price reach­es it. Use our free ATR Enve­lope indi­ca­tor on your chart to find the best ATR val­ues when cre­at­ing the ATR envelopes.

Note: The default input val­ues are not opti­mized. Demo the EA and adjust the inputs to find the opti­mized com­bi­na­tion for your risk tol­er­ance and to max­i­mize prof­itabil­i­ty. Trend Fol­low­ing sys­tems are designed around long term prob­a­bil­i­ties. Although Trend Fol­low­ing sys­tems have low­er win rates, prof­itabil­i­ty comes from large trends as Trend Fol­low­ing cuts loss­es short and lets win­ners run. Test on a port­fo­lio of sym­bols as prof­its from trend­ing sym­bols will off­set the small loss­es and pro­vide prof­its when oth­er sym­bols are not trend­ing.

Entries and Pyramiding

Entries occur when the price exceeds the upper or low­er envelopes. The EA adds the posi­tion as soon as the price goes above the upper enve­lope or below the low­er enve­lope and does not wait until the fol­low­ing bar. If you set the Max_Units input above 1, addi­tion­al entries will occur and pyra­mid in ATR incre­ments spec­i­fied by the ATR_between_Pyramids input.


Exits are trail­ing with the sim­ple mov­ing aver­age in the mid­dle of the ATR Envelopes. For long posi­tions, the EA exits when the price reach­es or goes below the mov­ing aver­age. For short posi­tions, the EA exits when the price reach­es or goes above the mov­ing aver­age.

Position Sizing and Stops

This EA cal­cu­lates the posi­tion siz­ing using the Per­cent Volatil­i­ty method which is direct­ly tied to the stop. The stop uses the ATR_Periods and Stop_Range_ATR inputs to cal­cu­late the ATR and then mul­ti­ply the two val­ues to set the stop dis­tance from the entry price. Stops are not cod­ed into the posi­tion but this EA clos­es out the posi­tion if the price reach­es the stop val­ue. As addi­tion­al units are added through pyra­mid­ing, the stop moves to cor­re­spond to the lat­est entry price. Using the stop val­ue, the Risk_Percent input, and your account infor­ma­tion (tick size, lot size, dig­its, etc.), the posi­tion siz­ing uses the mon­e­tary val­ue of the dis­tance from entry to stop and keeps the num­ber of lots lim­it­ed to the per­cent­age you spec­i­fy. This allows every sym­bol, price, volatil­i­ty to be treat­ed equal­ly. As your account size changes through prof­its or draw­downs, the posi­tion siz­ing will account for the change.


  • MA_Periods”The num­ber of bars used to cre­ate the sim­ple mov­ing aver­age in the mid­dle of the ATR envelopes.
  • ATR_Env_Periods”The num­ber of bars used to cre­ate the aver­age true range used for the ATR envelopes.
  • ATR_Multiples_Env”The num­ber of ATR mul­ti­ples (ATR mul­ti­plied by this num­ber) to cre­ate the upper and low­er ATR envelopes/bands.
  • Risk_Percent”The per­cent risked per posi­tion if the price reach­es the stop. Exam­ple: If you want 2% of your equi­ty to be risked per posi­tion, enter 2 to this input.
  • ATR_Periods”The num­ber of bars to use in the ATR cal­cu­la­tion.
  • Stop_Range_ATR”This val­ue will be mul­ti­plied by the ATR to deter­mine where the stop will be from the entry price. Exam­ple: If you want your stop to be set at 2* ATR from the price, enter 2 to this input.
  • Max_Units”The max­i­mum num­ber of entries (includ­ing the ini­tial entry) as the posi­tion gains prof­its and the EA adds pyra­mid posi­tions.
  • ATR_between_Pyramids”This val­ue will be mul­ti­plied by the ATR to use for cal­cu­lat­ing when to add the next posi­tion through pyra­mid­ing. Exam­ple: Set this to 1.5 and the next pyra­mid posi­tion would be added when the price reach­es your entry plus ( 1.5 * ATR ) for long posi­tions or entry minus ( 1.5 * ATR ) for short posi­tions.
  • Slip­page”Amount of allow­able slip­page when enter­ing posi­tion.
  • Reduction_Percent”Enter an amount by which to reduce your equi­ty for the posi­tion siz­ing cal­cu­la­tion. Exam­ple: If you are in a draw­down peri­od you can enter 20 to this input and the posi­tion size will be 20% less than with­out the reduc­tion. The posi­tion siz­ing cal­cu­la­tion would treat your equi­ty as 80% of what it real­ly is to low­er your risk until the draw­down is over.

ATR Envelope tfmt5 

Relat­ed Posts
Expert Advisor SARTrader
SAR­Trad­er is an Expert Advi­sor based on Par­a­bol­ic SAR. All para­me­ters are adjustable and their func­tions are quite under­stand­able. The biggest prob­lem with SAR is to stop trad­ing, that’s why I …
Expert Advisor MultiMTCopierMT5Source
Fast and high-qual­i­ty trade copi­er for your real/demo account. This Expert Advi­sor is devel­oped for copy­ing trades from the Ðœe­ta­Trad­er 5 ter­mi­nal. Mul­ti-ter­mi­nal Trade Copi­er: The EA will copy all posi­tions with­out …
Expert Advisor Kurochka Ryaba MT5
Advi­sor uses a unique strat­e­gy to sup­port mar­ket and pend­ing orders mod­i­fi­ca­tion. Works even with low deposits. Rec­om­mend­ed deposit — 1 000 USD (1 000 USD cent). Advi­sor does not …
Expert Advisor ScalpelFractalAdaptiveMA
This half scal­ing sys­tem ana­lyzes the mar­ket using Frac­tal Adap­tive Mov­ing Aver­age tech­ni­cal indi­ca­tor. The sys­tem can be scalp­ing or not depend­ing on Take­Prof­it and Sto­pLoss para­me­ters. The EA dis­tin­guish­es …
Expert Advisor EURGBP spot
EURGBP spot is a short­/medi­um-term Expert Advi­sor. Based on its inter­nal indi­ca­tors the Expert Advi­sor opens posi­tions look­ing for around 46 pips of prof­it. Take a clos­er look to our aston­ish­ing four …
Expert Advisor TrailingStop
The Expert Advi­sor mod­i­fies the Stop Loss lev­el of the opened posi­tion (on the cur­rent instru­ment). The Par­a­bol­ic SAR, NRTR (Nick Rypock Trail­ing Reverse), Mov­ing Aver­age indi­ca­tors or the lin­ear chan­nel …
Expert Advisor Fractals Wave Rider
Frac­tal Wave Rid­er EA uses frac­tals for trad­ing. This EA checks frac­tals on three dif­fer­ent time­frames for trad­ing sig­nals. If the entry sig­nal is con­firmed on all time­frames the trade …
Expert Advisor SS v4
A very inter­est­ing Expert Advi­sor that uses two CCI indi­ca­tors with sev­er­al para­me­ters of set­tings com­bi­na­tions. One of the CCI indi­ca­tors is con­sid­ered slow, the sec­ond one is fast, and …
Expert Advisor KLEO SYSTEM SET
KLEO SYSTEM SET — mul­ti­c­ur­ren­cy, mul­ti­sys­tem and mul­ti­func­tion­al Expert Advi­sor. Using only two lev­el sets (KLEO INDICATOR SET), as well as var­i­ous types of posi­tion track­ing and clos­ing, select­ed mon­ey …
Expert Advisor BSN Multi Bollinger Light
BSN Mul­ti Bollinger light is a Mul­ti Cur­ren­cy Expert Advi­sor that works on 6 cur­ren­cy pairs: EURUSD GBPUSD AUDUSD USDJPY USDCHF USDCAD This is a light ver­sion of BSN Mul­ti Bolinger. You can replace the exist­ing sym­bols in …
Expert Advi­sor SAR­Trad­er
Expert Advi­sor MultiMTCopierMT5Source
Expert Advi­sor Kurochka Rya­ba MT5
Expert Advi­sor Scalpel­Frac­ta­l­Adap­tive­MA
Expert Advi­sor EURGBP spot
Expert Advi­sor Trail­ingStop
Expert Advi­sor Frac­tals Wave Rid­er
Expert Advi­sor SS v4
Expert Advi­sor KLEO SYSTEM SET
Expert Advi­sor BSN Mul­ti Bollinger Light

Leave a Reply


Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.