MC累積量設定 幫我看一下拜託 - 財經
By Victoria
at 2016-04-25T21:34
at 2016-04-25T21:34
Table of Contents
inputs:VL(20) ;
vars : intrabarpersist TUpVol(0),intrabarpersist TDVol(0),
intrabarpersist TUpTicks(0),intrabarpersist TDownTicks(0),
intrabarpersist TPreTime_s(0),intrabarpersist TTime_s(0), intrabarpersist
TTimes_s(0), intrabarpersist TUVol(0),
TColor(0);
if LastBarOnChart_s then begin
TPreTime_s=TTime_s;
TTimes_s=BarNumber;
if TPreTime_s<>TTime_s then begin
TUVol=0;
TDVol=0;
end;
if UpTicks - TUpTicks >= VL then TUVol=TUVol+UpTicks-TUpTicks;
if DownTicks -TDownTicks >= VL then TDVol=TDVol+DownTicks-TDownTicks;
if TUVol > TDVol then TColor = Red else TColor = green ;
TUpTicks=UpTicks;
TDownTicks = DownTicks;
end;
Plot1(TUVol-TDVol,"",TColor);
上面的文法 只會出現當根累積量 請問要刪掉那些 才會變持續累積量呢 謝謝
--
vars : intrabarpersist TUpVol(0),intrabarpersist TDVol(0),
intrabarpersist TUpTicks(0),intrabarpersist TDownTicks(0),
intrabarpersist TPreTime_s(0),intrabarpersist TTime_s(0), intrabarpersist
TTimes_s(0), intrabarpersist TUVol(0),
TColor(0);
if LastBarOnChart_s then begin
TPreTime_s=TTime_s;
TTimes_s=BarNumber;
if TPreTime_s<>TTime_s then begin
TUVol=0;
TDVol=0;
end;
if UpTicks - TUpTicks >= VL then TUVol=TUVol+UpTicks-TUpTicks;
if DownTicks -TDownTicks >= VL then TDVol=TDVol+DownTicks-TDownTicks;
if TUVol > TDVol then TColor = Red else TColor = green ;
TUpTicks=UpTicks;
TDownTicks = DownTicks;
end;
Plot1(TUVol-TDVol,"",TColor);
上面的文法 只會出現當根累積量 請問要刪掉那些 才會變持續累積量呢 謝謝
--
Tags:
財經
All Comments
By Jake
at 2016-04-26T05:46
at 2016-04-26T05:46
By Blanche
at 2016-04-26T08:04
at 2016-04-26T08:04
By George
at 2016-04-29T00:50
at 2016-04-29T00:50
Related Posts
有點弱的交易檢討報告0422
By Zenobia
at 2016-04-22T15:21
at 2016-04-22T15:21
有點爆炸的交易檢討報告0420
By Agnes
at 2016-04-20T14:36
at 2016-04-20T14:36
有點弱的交易檢討報告0419
By Damian
at 2016-04-19T14:39
at 2016-04-19T14:39
MultiCharts設定DDE
By Lily
at 2016-04-19T11:13
at 2016-04-19T11:13
價格的發散與收斂???
By Barb Cronin
at 2016-04-18T21:42
at 2016-04-18T21:42