Fresh Afl for Amibroker with Particular settings....

rajputz

Well-Known Member
#1
hi guyz.

i recently got my afl of the amibroker deleted as i was testing some other. i didnt knew that i cannot switch to previous values.

Can anyone provide me AFL with these indicators...

1. Candle Stick
2. RSI Simple 14
3. Stochastic 14,5,5 Simple
4. Plus Volume


please share the afl...if any body knows how to write then it is a humble request if they can write it for me....
 

rajeshn2007

Well-Known Member
#2
hi guyz.

i recently got my afl of the amibroker deleted as i was testing some other. i didnt knew that i cannot switch to previous values.

Can anyone provide me AFL with these indicators...

1. Candle Stick
2. RSI Simple 14
3. Stochastic 14,5,5 Simple
4. Plus Volume


please share the afl...if any body knows how to write then it is a humble request if they can write it for me....
Hi,
I hope you are asking for this:

_SECTION_BEGIN("RSI");
SetChartOptions(0,0,chartGrid30|chartGrid70);
periods = Param( "Periods", 14, 1, 200, 1 );
Plot( RSI( periods), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();

_SECTION_BEGIN("Volume");
Plot( Volume, _DEFAULT_NAME(), ParamColor("Color", colorBlueGrey ), ParamStyle( "Style", styleHistogram | styleOwnScale | styleThick, maskHistogram ), 2 );
_SECTION_END();

_SECTION_BEGIN("Stochastic %D");
periods = Param( "Periods", 15, 1, 200, 1 );
Ksmooth = Param( "%K avg", 3, 1, 200, 1 );
Dsmooth = Param( "%D avg", 3, 1, 200, 1 );
Plot( StochD( periods , Ksmooth, DSmooth ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();
 

rajputz

Well-Known Member
#3
Hi,
I hope you are asking for this:

_SECTION_BEGIN("RSI");
SetChartOptions(0,0,chartGrid30|chartGrid70);
periods = Param( "Periods", 14, 1, 200, 1 );
Plot( RSI( periods), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();

_SECTION_BEGIN("Volume");
Plot( Volume, _DEFAULT_NAME(), ParamColor("Color", colorBlueGrey ), ParamStyle( "Style", styleHistogram | styleOwnScale | styleThick, maskHistogram ), 2 );
_SECTION_END();

_SECTION_BEGIN("Stochastic %D");
periods = Param( "Periods", 15, 1, 200, 1 );
Ksmooth = Param( "%K avg", 3, 1, 200, 1 );
Dsmooth = Param( "%D avg", 3, 1, 200, 1 );
Plot( StochD( periods , Ksmooth, DSmooth ), _DEFAULT_NAME(), ParamColor( "Color", colorCycle ), ParamStyle("Style") );
_SECTION_END();
sorry if my question is novice regarding the afl...but the code doesnt generate the price with candlesticks...
 

rajputz

Well-Known Member
#6
this is the output of the above given AFL. i have changed the color of the candlestick to black...can we seperate the panel of RSI, Stochastic, Price

 

Similar threads