亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? steve woods' cum. vol. float + cum. vol. channels.afl

?? 一個更精度的平滑涵數, 可用于股票交易系統.用于Amibroker 平臺
?? AFL
字號:
//------------------------------------------------------------------------------
//
//  Formula Name:    Steve Woods' Cum. Vol. Float + Cum. Vol. Channels
//  Author/Uploader: Eric Tangen 
//  E-mail:          
//  Date/Time Added: 2002-07-12 08:51:23
//  Origin:          Steve Woods "The Precision Profit Float Indicator"
//  Keywords:        Float Channel Steve Woods Cumulative Volume
//  Level:           advanced
//  Flags:           indicator
//  Formula URL:     http://www.amibroker.com/library/formula.php?id=203
//  Details URL:     http://www.amibroker.com/library/detail.php?id=203
//
//------------------------------------------------------------------------------
//
//  This file contains two of Steve Woods' indicators: his Cumulative-Volume
//  'Float' indicator and his Cumulative-Volume 'Channel' indicator.
//
//  The Cumulative-Volume 'Float' indicator is a channel of the high/close and
//  lowest low/close during a period of time where the cumulative volume of
//  shares traded equaled the float. It is for a single bar. The date of this
//  bar is set at the beginning of the AFL code.
//
//  The Cumulative-Volume 'Channel' indicator is channel lines constructed from
//  the Cumulative-Volume 'Float' indicator for all bars in the chart.
//
//  The last of Steve Woods' indicators - his Cumulative Volume 'Percentage'
//  indicator can be implemented entirely in AFL. I have posted it in a
//  separate file.
//
//------------------------------------------------------------------------------

// file name .../Indicators/Float_Cum_Vol_VBscript.afl

Title="(AmiSheet #) "+Name()+"  "+FullName()+"  Group: "+SectorID(1)+ " // Float Cumulative Vol and Float Channels Work using VBscript //  "  ;

myCumVolLastBar = LastValue(Cum(1)) - 100 ;
// the '-x' term in the above equation sets the last bar of the Float Cumulative Volume Indicator 
// use 0 for setting the last bar of the indicator to the last bar loaded. Set it to 
// 10 for 10 bars back from last bar loaded, 20 for 20 bars back...OR 

// use the calendar version (below) - it is easier:
myCumVolLastBar = LastValue(ValueWhen(DateNum()==1020703,Cum(1),1) ); 
// Change the DateNum in the above equation to set the last bar of the Float Cumulative Volume Indicator 

EnableScript("VBscript");

AFL_float =  GetExtraData("SharesFloat"); // Use QuotesPlus data feed for easy database access to the shares in 
                                                                //  float number
                                                                //  Another method would be to set up foreign tickers to contain float data
                                                                //  Or one could enter the number in the AFL code for each stock examined
BarsLoaded = LastValue(Cum(1))-1;

<%
'// VBscript code begins here
'// ***************** alter range of float calc here in order to change execution speed

'// the following 'For' statement calcs float for A specific range of bars
'// zero = most distant bar, Ubound = most recent bar = largest positive integer

vbdaystocalc = AFL("BarsLoaded") ' positive integer, set number of bars
                    '  for the float channels calculation

vbmostrecentbar  =  AFL("BarsLoaded")+1 '// A larger value than the number of days loaded
                          '// defaults to today as the most recent bar

'// ***********************************************

'//  the 1000000 factor reconciles QP float with QP vol units

vbfloat = 1000000*AFL("AFL_float") 
vb0d25float = 0.25*vbfloat
vb0d50float = 0.50*vbfloat
vb0d75float = 0.75*vbfloat
vbvol = AFL("V")

'/* it looks like the only way to create/initialize
' an array in VBscript is to set it 
' equal to an AFL Array
' so for arrays that I will pass back to AFL from  
' vbscript, I will set them equal to 
' OpenInterest, a field that isn't used by stock guys
'*/
vbFTdays= AFL("OI") 
'// Create Outputs Arrays
vb0d25FTdays = AFL("OI") ' days for 0.25 percent of float to turnover
vb0d50FTdays = AFL("OI") ' days for 0.5 percent of float to turnover
vb0d75FTdays = AFL("OI") ' days for 0.75 percent of float to turnover

'//  initialize the vbscript arrays 
'//(Belt+suspenders precaution if they 
'// aren't zeroed from the QP database)
For i = Ubound(vbFTdays) to 0 step  -1
    vb0d25FTdays(i) = 0
    vb0d50FTdays(i) = 0
    vb0d75FTdays(i) = 0
Next

'// calculates the number of days it took looking backward from
'// today for the float to turn over...
'// implemented as a Do While loop (for the Volume summation)
'// nested Inside a For-Next loop (to do this calculation for each
'// bar loaded)

'//  ********************* The range of the following FOR statement
'//  ********************* has a dramatic affect on program exectution time

If vbmostrecentbar > Ubound(vbvol) Then
	vbmostrecentbar =Ubound(vbvol)
End If

vbmostdistantbar = vbmostrecentbar - vbdaystocalc

If vbmostdistantbar > vbmostrecentbar Then
	vbmostdistantbar = 0
End If

'//  the following 'For' statement calcs float for all bars loaded and is included for
'//  future reference only
'//  zero = most distant bar, Ubound = most recent bar = largest positive integer
'//  For i = Ubound(vbvol) to 0 step  -1
'//  the user configurable range follows:

For i = vbmostrecentbar to vbmostdistantbar step  -1

'// ********************** END FOR I = x to y SELECTION ***********

'// vbFTdays array contains the number of days for the 
'// float to turn over

vbFTdays(i) = 0
vbtempvolsum = 0
vbtemp0d25volsum = 0
vbtemp0d50volsum = 0
vbtemp0d75volsum = 0
j = i
vbcountFTdays = 0

'// Add vol till you get one float

Do While vbtempvolsum < vbfloat	
    vbtempvolsum = vbtempvolsum+Vbvol(j)
    vbtemp0d25volsum = vbtemp0d25volsum + vbvol(j)
    vbtemp0d50volsum = vbtemp0d25volsum + vbvol(j)
    vbtemp0d75volsum = vbtemp0d25volsum + vbvol(j)   
    vbcountFTdays = vbcountFTdays+1

'// Pick up the partial float turnovers - very convenient to do it here  
   
    If vbtemp0d25volsum < vb0d25float Then
   	vb0d25FTdays(i) = vbcountFTdays
        vbtemp0d25volsum = vbtempvolsum 
    End If

    If vbtemp0d50volsum < vb0d50float Then
   	vb0d50FTdays(i) = vbcountFTdays
    End If

    If vbtemp0d75volsum < vb0d75float Then
   	vb0d75FTdays(i) = vbcountFTdays
    End If

    j = j-1  '// decrement to set the index to the prior bar
    If j <= 0 Then
        Exit Do '// exit at vbVol(0)
    End If
Loop

If vbtempvolsum >= vbfloat Then
vbFTdays(i) = vbcountFTdays '// successful float turnover calc
Else  
vbFTdays(i) =0   '// unsuccessful float turnover calc - insufficient number of bars loaded
End If

'// set float turnover to 0 until you get an entire fractional float
'// similiar to needing n periods prior to getting A valid n period 
'// moving average. Without this check, the earliest bars show A ramp up 

'// there is no need for the >= check for the fractional floats here

If vbtemp0d25volsum < vb0d25float Then
vb0d25FTdays(i) = 0 ' unsuccessful fractional float turnover calc
End If

If vbtemp0d50volsum < vb0d50float Then
vb0d50FTdays(i) = 0 '// unsuccessful fractional float turnover calc
End If

If vbtemp0d75volsum < vb0d75float Then
vb0d75FTdays(i) = 0 '// unsuccessful fractional float turnover calc
End If

Next 

'// end of float turnover bars calc

AFL.Var("Floatout") = 1000000*vbfloat
AFL.Var("FTdays") = vbFTdays
AFL.Var("quarterFTdays") = vb0d25FTdays
AFL.Var("halfFTdays") = vb0d50FTdays
AFL.Var("threequarterFTdays") = vb0d75FTdays
%>
// Float Cumulative Volume 

BarCounter = Cum(1);
lastbararray = IIf(myCumVolLastBar==BarCounter,1,-1E10);
CumVolFirstBar = myCumVolLastBar - LastValue(ValueWhen(lastbararray==1,FTdays, n=1));
Window1 = IIf(barcounter <= myCumVolLastBar AND barcounter > CumVolFirstBar, 1, -1E10);

myhh = HHV(H,LastValue(ValueWhen(lastbararray==1,FTdays, n=1)));     
myhh1 = Window1*LastValue(ValueWhen( lastbararray==1, myhh, n=1));

myll = LLV(L,LastValue(ValueWhen(lastbararray==1,FTdays, n=1)));     
myll1 = Window1*LastValue(ValueWhen( lastbararray==1, myll, n=1));

// Float Cumulative Volume Plot:
Plot( C, " ",1,64); // Graph1Color = 1; //1=black; Graph Type 64 = candlestick chart
Plot(myhh1," ",1,8);// Graph1Color = 8; //8=bright green Graph1Color = 1; //1=black
Plot(myll1," ",1,8);// Graph1Color = 11; //11=magenta Graph1Color = 1; //1=black

// The below 2 lines are used to prevent the indicator from sitting on the chart's upper or lower
// borders when scaling is set to automatic. 
Plot( myhh1+ATR(10), " ",1,256);// 256 = no draw: scale axis only
Plot( myll1-ATR(10), " ",1,256);// 256 = no draw: scale axis only

// Float Channel Bars : undocumented Amibroker feature - LLV, HHV will take an array for the 'periods' argument
// Thank You Again, TJ

Window2 = IIf(FTdays != 0, 1, -1E10); // this removes the invalid first N bars of FT 

Ch_LLV_C = Window2*Ref(LLV(C,FTdays),-1);
Ch_HHV_C = Window2*Ref(HHV(C,FTdays),-1);
Ch_LLV_L = Window2*Ref(LLV(L,FTdays),-1);
Ch_HHV_H = Window2*Ref(HHV(H,FTdays),-1);

Plot( Ch_LLV_C," ",4,4);// Graph1Color = 4; //4=red 
Plot( Ch_HHV_C," ",6,4);// Graph1Color = 6; //6=blue 
Plot( Ch_LLV_L," ",5,4);// Graph1Color = 5;  //5=bright green
Plot( Ch_HHV_H," ",11,4);// Graph1Color = 11; //11=magenta

// The below 2 lines are used to prevent the indicator from sitting on the chart's upper or lower
// borders when scaling is set to automatic. 

Plot( Ref(LLV(L,FTdays),-1)-ATR(10), " ",1,256);// Graph = 256 = no draw: scale axis only
Plot( Ref(HHV(H,FTdays),-1)+ATR(10), " ",1,256);// Graph1 = 256 = no draw: scale axis only

/*
        AFL CHART COLORS Amibroker 4.0
Plot( AFLarray, "ArrayString",0,4);// Graph1Color = 0; //0=Gray Thick Line Chart
Plot( AFLarray, "ArrayString",1,4);// Graph1Color = 1; //1=black
Plot( AFLarray, "ArrayString",2,4);// Graph1Color = 2; //2=white
Plot( AFLarray, "ArrayString",3,4);// Graph1Color = 3; //3=blank (not transparent, use graph type 16 to delete)
Plot( AFLarray, "ArrayString",4,4);// Graph1Color = 4; //4=red 
Plot( AFLarray, "ArrayString",5,4);// Graph1Color = 5; //5=bright green
Plot( AFLarray, "ArrayString",6,4);// Graph1Color = 6; //6=blue
Plot( AFLarray, "ArrayString",7,4);// Graph1Color = 7; //7=yellow
Plot( AFLarray, "ArrayString",8,4);// Graph1Color = 8; //8=bright green
Plot( AFLarray, "ArrayString",9,4);// Graph1Color = 9; //9=maize
Plot( AFLarray, "ArrayString",10,4);// Graph1Color = 10; //10=cyan
Plot( AFLarray, "ArrayString",11,4);// Graph1Color = 11; //11=magenta
Plot( AFLarray, "ArrayString",12,4);// Graph1Color = 12; //12=violet (almost black)
Plot( AFLarray, "ArrayString",13,4);// Graph1Color = 13; //13=peach
Plot( AFLarray, "ArrayString",14,4);// Graph1Color = 14; //14=even lighter cyan
Plot( AFLarray, "ArrayString",15,4);// Graph1Color = 15; //15=brick
Plot( AFLarray, "ArrayString",16,4);// Graph1Color = 16; //16=black
Plot( AFLarray, "ArrayString",17,4);// Graph1Color = 17; //17=brown
Plot( AFLarray, "ArrayString",18,4);// Graph1Color = 18; //18=black
Plot( AFLarray, "ArrayString",19,4);// Graph1Color = 19; //19=forest green
Plot( AFLarray, "ArrayString",20,4);// Graph1Color = 20; //20=black
Plot( AFLarray, "ArrayString",25,4);// Graph1Color = 25; //25=orange
Plot( AFLarray, "ArrayString",26,4);// Graph1Color = 26; //26=olive green
Plot( AFLarray, "ArrayString",27,4);// Graph1Color = 27; //27=medium green
Plot( AFLarray, "ArrayString",28,4);// Graph1Color = 28; //28=blue-green
Plot( AFLarray, "ArrayString",29,4);// Graph1Color = 29; //29=blue
Plot( AFLarray, "ArrayString",30,4);// Graph1Color = 30; //30=blue-gray
Plot( AFLarray, "ArrayString",37,4);// Graph1Color = 37; //37=lighter shade of 30 (blue-gray)

GRAPH TYPES

1 = normal line
2 = histogram
4 = thick line
8 = include dots
16 = no line
32 = semi log
64 = candlestick chart
128 = bar chart
256 = no draw: scale axis only
512 = Gann Staircase
1024 = Gann Swing Dots

// Amibroker AFL code by Eric Tangen

*/ 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
自拍偷拍亚洲综合| 91精品国产欧美日韩| 免费一级片91| 亚洲午夜三级在线| 亚洲蜜臀av乱码久久精品 | 99综合影院在线| 美女视频免费一区| 久久综合综合久久综合| 蜜桃久久久久久| 久久av资源网| 国产成人在线影院| 成人动漫视频在线| 99久久777色| 91国产丝袜在线播放| 在线视频亚洲一区| 91精品久久久久久久久99蜜臂| 5566中文字幕一区二区电影| 欧美电影免费观看高清完整版在 | 老司机免费视频一区二区三区| 奇米色一区二区三区四区| 久久er精品视频| 国产99久久久久| 99国产麻豆精品| 欧美伦理电影网| 久久久久久99精品| 亚洲欧美成人一区二区三区| 亚洲va中文字幕| 国产呦萝稀缺另类资源| 972aa.com艺术欧美| 欧美日韩国产高清一区二区| 精品国精品国产| 亚洲欧美韩国综合色| 美女视频一区在线观看| 风流少妇一区二区| 欧美三级电影一区| 26uuu久久天堂性欧美| 1024国产精品| 麻豆freexxxx性91精品| 9i在线看片成人免费| 日韩一区二区三区在线| 国产精品成人免费| 青青草国产成人av片免费| 成人精品一区二区三区中文字幕| 欧美视频精品在线| 精品盗摄一区二区三区| 国产精品成人免费在线| 久久精品久久99精品久久| 色婷婷久久综合| 久久欧美中文字幕| 视频一区二区中文字幕| 99re6这里只有精品视频在线观看| 日韩亚洲欧美在线| 亚洲国产视频一区二区| av网站一区二区三区| 欧美成人一级视频| 午夜精品国产更新| 在线欧美一区二区| 中文成人综合网| 国产在线一区二区| 日韩三区在线观看| 日韩国产欧美在线视频| 91久久免费观看| 中文字幕中文乱码欧美一区二区| 久久69国产一区二区蜜臀| 欧美日韩一级二级| 一区二区三区精品视频在线| 91亚洲国产成人精品一区二区三| 久久久国际精品| 国内精品在线播放| 精品久久一区二区| 麻豆一区二区三区| 日韩精品一区二区三区视频| 午夜精品福利在线| 国产亚洲女人久久久久毛片| 蜜臀久久久久久久| 欧美精品成人一区二区三区四区| 亚洲伊人伊色伊影伊综合网| 色婷婷av一区二区三区之一色屋| 中文字幕欧美日韩一区| 成人免费视频caoporn| 国产欧美一区二区精品忘忧草 | 中文字幕一区二区三区色视频| 国产一区二区视频在线| 久久―日本道色综合久久| 国产一区二区电影| 国产嫩草影院久久久久| 福利一区二区在线| 国产精品久久久久久久久快鸭 | 久久午夜免费电影| 国产一区二区三区日韩| 国产性天天综合网| 99精品久久只有精品| 亚洲精品免费在线播放| 欧美三级乱人伦电影| 日韩影视精彩在线| 337p粉嫩大胆噜噜噜噜噜91av| 国产在线精品免费av| 中文字幕的久久| 色偷偷成人一区二区三区91| 亚洲h精品动漫在线观看| 欧美一级一区二区| 国产乱码精品1区2区3区| 日韩伦理av电影| 欧美日韩极品在线观看一区| 久久成人久久鬼色| 国产精品电影院| 欧美日韩一区二区三区高清| 久久激情五月激情| 一色屋精品亚洲香蕉网站| 欧美中文一区二区三区| 久久99在线观看| 中文字幕在线观看不卡| 69p69国产精品| 国产成人在线视频网址| 亚洲高清不卡在线| 国产欧美日韩精品在线| 精品视频免费看| 国产精品夜夜爽| 亚洲一二三级电影| 国产亚洲欧洲997久久综合| 欧美在线视频日韩| 国产黄人亚洲片| 亚洲1区2区3区视频| 日本一区二区三区在线不卡| 91麻豆精品国产91| 99视频热这里只有精品免费| 伦理电影国产精品| 亚洲成人免费看| 国产精品国产三级国产aⅴ原创 | 亚洲欧美另类图片小说| 欧美一二三区精品| 91久久精品一区二区| 成人综合激情网| 精品一区二区免费在线观看| 婷婷久久综合九色综合伊人色| 亚洲日穴在线视频| 中文字幕成人在线观看| 26uuu国产一区二区三区| 欧美肥妇毛茸茸| 在线精品观看国产| 91网站最新网址| 成人午夜视频免费看| 国产精品亚洲午夜一区二区三区| 美女视频一区在线观看| 亚洲高清久久久| 亚洲第四色夜色| 亚洲国产精品影院| 亚洲一级电影视频| 亚洲国产视频直播| 一区二区三区精品视频| 亚洲免费观看在线观看| 国产精品第五页| 亚洲欧洲精品天堂一级| 国产精品第13页| 亚洲欧洲一区二区在线播放| 国产精品国产三级国产普通话三级| 国产夜色精品一区二区av| 久久一区二区视频| 日韩精品乱码av一区二区| 成人黄色国产精品网站大全在线免费观看| 国产肉丝袜一区二区| 久久奇米777| 久久久天堂av| 国产欧美精品国产国产专区| 中文一区二区完整视频在线观看| 欧美韩国日本一区| 中文字幕一区二区5566日韩| 亚洲免费在线电影| 午夜不卡av在线| 六月婷婷色综合| 成人妖精视频yjsp地址| 91麻豆国产自产在线观看| 色哟哟国产精品| 欧美日韩三级一区| 精品国产免费一区二区三区香蕉| 欧美成人精品1314www| 国产视频一区二区在线| 日韩成人免费在线| 奇米色777欧美一区二区| 国产一区二区三区精品视频| 成人国产精品免费观看动漫| 在线观看网站黄不卡| 91精品国产91久久综合桃花| 久久综合久色欧美综合狠狠| 国产精品视频线看| 亚洲黄色免费网站| 蜜臀av性久久久久蜜臀aⅴ流畅| 国产中文一区二区三区| 一本色道亚洲精品aⅴ| 欧美老女人在线| 久久精品亚洲精品国产欧美| 亚洲欧美日韩成人高清在线一区| 日韩成人一级片| 成人免费黄色大片| 欧美一区二区黄| 亚洲精品乱码久久久久| 国产中文字幕精品| 欧美日韩在线亚洲一区蜜芽| 国产亚洲精品aa午夜观看| 午夜精品一区在线观看|