Text Islami

Sudahkan Anda Memikirkan & Mempersiapkan Kematian Anda ?

Muslim wajib menjaga lima perkara:

Agama, Akal, Kehormatan, Harta dan Jiwa

Percaya Hanya Pada Analisa Anda ... USAHA maksimal, SABAR dan DISIPLIN... lalu serahkan hasilnya pada Allah subhanahu wa ta'ala...

Thursday, October 18, 2012

AFL Volume dgn TimeFrame 1minute sd Monthly.

AFL ini bukan saya yang buat tapi mas Panos yang di-share di milis Amibroker.

//===========================
/*
this is NOT True few days ago Tomasz explain how to put new buttons through customize/tools ...
but any way with this formula below that uses TimeFrameSet without to use restore, you can drag&drop any other AfL AND "Bingo"
try it...
you can have 2,3,..6 chart in the same window with different time frames

Panos
*/


/* Plot different TimeFrames in the same window */


SetChartBkGradientFill(colorTeal, colorTan,colorTan);
Period= ParamList( "Base", "Monthly|Weekly|Daily|8Hours|4Hours|2Hours|Hourly|30Minute|20Minute|15Minute|10Minute|5Minute|3Minute|1Minute" ,6);
function xVolume() {
Vol= Plot(V, "Volume2",colorWhite, styleHistogram|styleOwnScale);
}

if(Period== "Monthly"){
TimeFrameSet(inMonthly);
PlotOHLC(Open, High, Low, Close, "\nMonthly Price Chart", colorBlack, styleCandle );
if( ParamToggle( "Volume .?", "No|Yes" ) ) xVolume() ;
}
if(Period== "Weekly"){
TimeFrameSet(inWeekly);
PlotOHLC(Open, High, Low, Close, "\nweekly Price Chart", colorBlack, styleCandle );
if( ParamToggle( "Volume .?", "No|Yes" ) ) xVolume() ;
}
if(Period== "Daily"){
TimeFrameSet(inDaily);
PlotOHLC(Open, High, Low, Close, "\nDaily Price Chart", colorBlack, styleCandle );
if( ParamToggle( "Volume .?", "No|Yes" ) ) xVolume() ;
}
if(Period== "8Hours"){
TimeFrameSet(inHourly *8);
PlotOHLC(Open, High, Low, Close, "\n8 Hours Price Chart", colorBlack, styleCandle );
if( ParamToggle( "Volume .?", "No|Yes" ) ) xVolume() ;
}
if(Period== "4Hours"){
TimeFrameSet(inHourly *4);
PlotOHLC(Open, High, Low, Close, "\n4 Hours Price Chart", colorBlack, styleCandle );
if( ParamToggle( "Volume .?", "No|Yes" ) ) xVolume() ;
}
if(Period== "2Hours"){
TimeFrameSet(inHourly *2);
PlotOHLC(Open, High, Low, Close, "\n2 Hours Price Chart", colorBlack, styleCandle );
if( ParamToggle( "Volume .?", "No|Yes" ) ) xVolume() ;
}
if(Period== "Hourly"){
TimeFrameSet(inHourly);
PlotOHLC(Open, High, Low, Close, "\nHourly Price Chart", colorBlack, styleCandle );
if( ParamToggle( "Volume .?", "No|Yes" ) ) xVolume() ;
}
if(Period== "30Minute"){
TimeFrameSet(in15Minute *2);
PlotOHLC(Open, High, Low, Close, "\n30 Minute Price Chart", colorBlack, styleCandle );
if( ParamToggle( "Volume .?", "No|Yes" ) ) xVolume() ;
}
if(Period== "20Minute"){
TimeFrameSet(in5Minute *4);
PlotOHLC(Open, High, Low, Close, "\n20 Minute Price Chart", colorBlack, styleCandle );
if( ParamToggle( "Volume .?", "No|Yes" ) ) xVolume() ;
}
if(Period== "15Minute"){
TimeFrameSet(in5Minute *3);
PlotOHLC(Open, High, Low, Close, "\n15Minute Price Chart", colorBlack, styleCandle );
if( ParamToggle( "Volume .?", "No|Yes" ) ) xVolume() ;
}
if(Period== "10Minute"){
TimeFrameSet(in5Minute *2);
PlotOHLC(Open, High, Low, Close, "\n10 Minute Price Chart", colorBlack, styleCandle );
if( ParamToggle( "Volume .?", "No|Yes" ) ) xVolume() ;
}
if(Period== "5Minute"){
TimeFrameSet(in5Minute);
PlotOHLC(Open, High, Low, Close, "\n5Minute Price Chart", colorBlack, styleCandle );
if( ParamToggle( "Volume .?", "No|Yes" ) ) xVolume() ;
}
if(Period== "3Minute"){
TimeFrameSet(in1Minute *3);
PlotOHLC(Open, High, Low, Close, "\n3Minute Price Chart", colorBlack, styleCandle );
if( ParamToggle( "Volume .?", "No|Yes" ) ) xVolume() ;
}
if(Period== "1Minute"){
TimeFrameSet(in1Minute);
PlotOHLC(Open, High, Low, Close, "\n1Minute Price Chart", colorBlack, styleCandle );
if( ParamToggle( "Volume .?", "No|Yes" ) ) xVolume() ;
}


//==================

Jangan begitu saja percaya... selalu always recek dan percaya dengan TA dan chart Anda.

Insya Allah bermanfaat.
Eco Syariah Share

No comments:

Post a Comment

Note: Only a member of this blog may post a comment.