通達(dá)信全息帳戶主圖指標(biāo)公式
基本概況:
- 指標(biāo)類別: 通達(dá)信指標(biāo)
- 授權(quán)方式: 免費版
- 指標(biāo)評級: ★★★★★
- 指標(biāo)語言: 簡體中文
- 指標(biāo)來源: 互聯(lián)網(wǎng)
- 指標(biāo)日期: 2017-07-29 00:00:00
內(nèi)容介紹:
通達(dá)信全息帳戶主圖指標(biāo)公式:
股一成本:=10.62;股一數(shù)量:=300;股一收盤價:="600098$C";{輸入股一成本,股數(shù),代碼}
股二成本:=10.79;股二數(shù)量:=500;股二收盤價:="601212$C";{輸入股二成本,股數(shù),代碼}
股三成本:=45.52;股三數(shù)量:=800;股三收盤價:="603881$C";{輸入股三成本,股數(shù),代碼}
DRAWRECTREL(IF(TOTALBARSCOUNT>80,0,455),290,IF(TOTALBARSCOUNT>80,IF(股一成本=0,0,IF(股二成本=0,100,IF(股三成本=0,150,200))),IF(股一成本=0,455,IF(股二成本=0,560,IF(股三成本=0,620,680)))),IF(股二成本!=0,700,610),RGB(1,0,0));
DRAWTEXT_FIX(股一成本!=0,IF(TOTALBARSCOUNT>80,0.05,0.51),0.3,0,'廣州發(fā)展');{輸入股一名稱}
DRAWTEXT_FIX(股二成本!=0,IF(TOTALBARSCOUNT>80,0.1,0.57),0.3,0,'白銀有色');{輸入股二名稱}
DRAWTEXT_FIX(股三成本!=0,IF(TOTALBARSCOUNT>80,0.15,0.63),0.3,0,'數(shù)據(jù)港');{輸入股三名稱}
{----------------------只有上面部分需要自定義,以下全部不用修改--------------------------}
DRAWTEXT_FIX(股一成本!=0,IF(TOTALBARSCOUNT>80,0.008,0.46),0.3,0,'★帳戶'),COLORRED;
DRAWTEXT_FIX(股一成本=0,IF(TOTALBARSCOUNT>80,0.008,0.46),0.3,0,'★目前空倉★'),COLORYELLOW;
DRAWTEXT_FIX(股一成本!=0,IF(TOTALBARSCOUNT>80,0.008,0.46),0.35,0,'投入金'),COLORRED;
DRAWTEXT_FIX(股一成本!=0,IF(TOTALBARSCOUNT>80,0.008,0.46),0.4,0,'持股數(shù)'),COLORRED;
DRAWTEXT_FIX(股一成本!=0,IF(TOTALBARSCOUNT>80,0.008,0.46),0.45,0,'成本價'),COLORRED;
DRAWTEXT_FIX(股一成本!=0,IF(TOTALBARSCOUNT>80,0.008,0.46),0.55,0,'盈虧額'),COLORRED;
DRAWTEXT_FIX(股一成本!=0,IF(TOTALBARSCOUNT>80,0.008,0.46),0.5,0,'盈虧?'),COLORRED;
股一金額:=股一成本*股一數(shù)量;
股二金額:=股二成本*股二數(shù)量;
股三金額:=股三成本*股三數(shù)量;
股一盈虧:=CONST((股一收盤價-股一成本)*股一數(shù)量);
股二盈虧:=CONST((股二收盤價-股二成本)*股二數(shù)量);
股三盈虧:=CONST((股三收盤價-股三成本)*股三數(shù)量);
股一盈虧比例:=(股一收盤價-股一成本)/股一成本*100;
股二盈虧比例:=(股二收盤價-股二成本)/股二成本*100;
股三盈虧比例:=(股三收盤價-股三成本)/股三成本*100;
通達(dá)信全息帳戶主圖指標(biāo)公式
DRAWTEXT_FIX(股一金額!=0,IF(TOTALBARSCOUNT>80,0.06,0.51),0.35,0,CON2STR(股一金額,0)),COLORRED;
DRAWTEXT_FIX(股二金額!=0,IF(TOTALBARSCOUNT>80,0.11,0.57),0.35,0,CON2STR(股二金額,0)),COLORRED;
DRAWTEXT_FIX(股三金額!=0,IF(TOTALBARSCOUNT>80,0.16,0.63),0.35,0,CON2STR(股三金額,0)),COLORRED;
DRAWTEXT_FIX(股一數(shù)量!=0,IF(TOTALBARSCOUNT>80,0.06,0.51),0.4,0,CON2STR(股一數(shù)量,0)),COLORRED;
DRAWTEXT_FIX(股二數(shù)量!=0,IF(TOTALBARSCOUNT>80,0.11,0.57),0.4,0,CON2STR(股二數(shù)量,0)),COLORRED;
DRAWTEXT_FIX(股三數(shù)量!=0,IF(TOTALBARSCOUNT>80,0.16,0.63),0.4,0,CON2STR(股三數(shù)量,0)),COLORRED;
DRAWNUMBER_FIX(股一成本!=0,IF(TOTALBARSCOUNT>80,0.06,0.51),0.45,0,股一成本),COLORRED;
DRAWNUMBER_FIX(股二成本!=0,IF(TOTALBARSCOUNT>80,0.11,0.57),0.45,0,股二成本),COLORRED;
DRAWNUMBER_FIX(股三成本!=0,IF(TOTALBARSCOUNT>80,0.16,0.63),0.45,0,股三成本),COLORRED;
DRAWTEXT_FIX(股一盈虧>0,IF(TOTALBARSCOUNT>80,0.06,0.51),0.55,0,CON2STR(股一盈虧,0)),COLORYELLOW;
DRAWTEXT_FIX(股二盈虧>0,IF(TOTALBARSCOUNT>80,0.11,0.57),0.55,0,CON2STR(股二盈虧,0)),COLORYELLOW;
DRAWTEXT_FIX(股三盈虧>0,IF(TOTALBARSCOUNT>80,0.16,0.63),0.55,0,CON2STR(股三盈虧,0)),CO
相關(guān)推薦: