通達信SY籌碼指標公式原始碼副圖

指标公式分享發表於2024-03-09
{ 通達信SY籌碼指標公式原始碼副圖 }

P1:=90;
F:=COst(5);
J:=COST(95);
M:=COST(15);
N:=COST(85);
獲利比例:WINNER(CLOSE)*100,NODRAW;
STICKLINE(獲利比例,獲利比例,0,2,1),COLORLIGRAY;
STICKLINE(獲利比例>=70,獲利比例,0,1,0),COLORLIGRAY;
STICKLINE(獲利比例>=80,獲利比例,0,1,0),COLORGREEN;
STICKLINE(獲利比例>=90,獲利比例,0,1,0),COLORRED;
A:=P1+(100-P1)/2;
B:=(100-P1)/2;
CC:=COST(A);
DD:=COST(B);
籌碼集中度:(CC-DD)/(CC+DD)*100,NODRAW;
STICKLINE(籌碼集中度<=10,獲利比例/2,0,1,0),COLORYELLOW;
DRAWTEXT_FIX(1,0.1,0,0,'使用方法'),COLORYELLOW;
DRAWTEXT_FIX(1,0.005,0.1,0,'【1】灰色空心柱代表獲利比例,其長短代表獲利比例的大小'),COLORCYAN;
DRAWTEXT_FIX(1,0.005,0.2,0,'【2】灰色實柱代表獲利比例在70%~80%之間,預備階段'),COLORCYAN;
DRAWTEXT_FIX(1,0.005,0.3,0,'【3】綠色實柱代表獲利比例在80%~90%之間,具備走牛條件'),COLORGREEN;
DRAWTEXT_FIX(1,0.005,0.4,0,'【4】紅色實柱代表獲利比例在90%以上,拉昇階段'),COLORRED;
DRAWTEXT_FIX(1,0.005,0.5,0,'【5】黃實柱代表籌碼集中度小於10,具備走牛條件'),COLORYELLOW;
DRAWTEXT_FIX(1,0.005,0.6,0,'【6】黃+不同顏色混合柱代表二者特性兼有'),COLORmaGENTA;

相關文章