This is read-only version of AFL library entry. Ability to add user formulas
and comment is only available from members-only area.
Details:
Formula name:
Trading ATR 10-1
Author/Uploader:
Marcelin - marcelint [at] xnet.ro
Date/Time added:
2005-03-04 15:40:51
Origin:
Keywords:
Level:
basic
Flags:
system
DISCLAIMER: Most formulas present in AFL on-line library are submitted
by the users and are provided here on an "as is" and "as available" basis.
AmiBroker.com
makes no representations or warranties of any kind to the contents or the operation
of material presented here. We do not maintain nor provide technical support
for 3rd party formulas. Description:
A volatility trading system.
Formula:
/*Developed by Tudor Marcelin - Art Invest
Este un sistem care genereaza semnale pentru ziua urmatoare.*/
k=1; /* factor de multiplicare*/
/*R rezistenta pentru ziua curenta*/
R = Ref(Close, -1)+k*Ref(ATR(10),-1);
/*S rezistenta pentru ziua curenta*/
S = Ref(Close, -1)-k*Ref(ATR(10),-1);
Buy=Close>R;
Sell=Close<S;
Cump=IIf(Close>R,1,0);
Vanz=IIf(Close<S,1,0);
Plot(Close,"Close",colorBlack,styleCandle);
Plot(R, "Rez:",colorGreen,styleDots|styleNoLine);
Plot(S, "Sup:",colorRed,styleDots|styleNoLine);
Buy = ExRem( Buy, Sell ); //Elimina semnalele buy consecutive
Sell = ExRem( Sell, Buy ); //Elimina semnalele sell consecutive
shape = Buy * shapeUpArrow + Sell * shapeDownArrow;
fig=Cump*shapeHollowUpArrow + Vanz*shapeHollowDownArrow;
PlotShapes( fig, IIf( Cump, colorPaleGreen , colorPink), 0, IIf( Cump, Low-50,
High+50)); //Pentru a vizualiza semnalele consecutive eliminate de ExRem
PlotShapes( shape, IIf( Buy, colorGreen, colorRed ), 0, IIf( Buy, Low-50,
High+50));
AlertIf( Buy, "", "ATR 10-1 Sistem", 1 );
AlertIf( Sell, "", "ATR 10-1 Sistem",2);
GraphXSpace = 3;
Title=EncodeColor(colorBlue)+"Sistem ATR 10-1 "+EncodeColor(colorBlack)+ "
Open:"+O+" High:"+H+" Low:"+L+" Close:"+C+EncodeColor(colorGreen)+"
Rez:"+R+EncodeColor(colorRed)+" Sup:"+S+EncodeColor(colorBlue)+
" \nDate: "+EncodeColor(colorRed)+Date();
Comments:
Frans nononzenze [at] yahoo.co.uk 2005-03-13 04:35:43
Tudor,
Niece piece of work, but can you translate the comments in english please.
It's a trading system that generate a signal for the next day. R is the resistance for current day, S is the support for the current day. K=multiplication factor (can be change.The period of ATR (current=10) can be change according with your tolerance of risk). When close price is above the resistance it generate a buy signal (green arrow). Hollow arrows follow the trend. The red arrows are for sell signal.
Marcelin
2005-09-13 00:36:08
Vasile,
E mai usor sa-mi trimiti mail cu toate problemele.
Pierre LEGRIS legris-pira [at] iris.mg 2006-02-19 14:03:43
Hi,
New with AB, It seems a fine system but :
- i have not seen the differents signals
- I can't run an exploration (ask for definite a filter variable (favorites is definited)
best regards,
PIERRE
Pierre LEGRIS legris-pira [at] iris.mg 2006-02-19 14:07:19
Hi,
I suppose the file was corrupted . A second download is good for the signals but it's always impossible to do an exploration ?