當前位置:首頁 » 操作系統 » k線公式源碼

k線公式源碼

發布時間: 2024-11-09 00:35:24

❶ 東方財富三色K線指標公式

你好,東方財富三色k線指標公式如下:
DRAWNUMBER(ISLASTBAR ,C,C),COLORMAGENTA;
SJTJ:=DATE<1590301;
{主趨勢線:EMA(EMA(C,10),10),COLORBLUE,LINETHICK3;
B:=主趨勢線<REF(主趨勢線,1);
IF(B-1,主趨勢線,DRAWNULL)COLORRED,LINETHICK3;}
主趨勢線:EMA(EMA(C,10),10),COLORRED,LINETHICK3;
B:=主趨勢線>REF(主趨勢線,1);
IF(B-1,主趨勢線,DRAWNULL)COLORBLUE,LINETHICK3;
AA:=EMA(C,5) > EMA(C,20);
BB:=EMA(C,5) < EMA(C,20);
CC:= EMA(C,5) > EMA(C,10);
CC1:=EMA(C,5) < EMA(C,10);
DD:=CLOSE<OPEN;
STICKLINE(AA AND SJTJ,H,L,0,0),COLORRED;
STICKLINE(AA AND SJTJ,O,C,3,1),COLORRED;
STICKLINE(AA AND SJTJ AND DD,O,C,3,0),COLORRED;
STICKLINE(BB AND SJTJ,H,L,0,0),COLORGREEN;
STICKLINE(BB AND SJTJ,O,C,3,1),COLORGREEN;
STICKLINE(BB AND SJTJ AND DD,O,C,3,0),COLORGREEN;
STICKLINE(BB AND SJTJ AND CC,H,L,0,1),COLORWHITE;
STICKLINE(BB AND SJTJ AND CC,O,C,3,1),COLORWHITE;
STICKLINE(BB AND SJTJ AND CC AND DD,O,C,3,0),COLORWHITE;
STICKLINE(AA AND SJTJ AND CC1,H,L,0,0),COLORWHITE;
STICKLINE(AA AND SJTJ AND CC1,O,C,3,1),COLORWHITE;
STICKLINE(AA AND SJTJ AND CC1 AND DD,O,C,3,0),COLORWHITE;
最新價:IF(SJTJ, C,DRAWNULL),LINETHICK0,COLORYELLOW。

❷ 求K線圖 和 VOL圖的公式源碼

主圖:
STICKLINE(C>=O,H,L,0,1), COLORred;
STICKLINE(C>=O,C,O,6,1), COLORred;
STICKLINE(C< O,H,L,0,0), ColorFFFF00;
STICKLINE(C< O,C,O,6,0),ColorFFFF00;

VOL圖
VOL,VOLSTICK;
MA1:MA(VOL,5),colorwhite;
MA2:MA(VOL,10),coloryellow;
MA3:MA(VOL,20),colorff00ff;

K線圖(Candlestick Charts)又稱蠟燭圖、日本線、陰陽線、棒線、紅黑線等,常用說法是「K線」。它是以每個分析周期的開盤價、最高價、最低價和收盤價繪制而成。

熱點內容
linux應用軟體下載 發布:2024-11-22 15:15:43 瀏覽:102
我的世界國際版第三方啟動器怎麼進伺服器 發布:2024-11-22 15:08:22 瀏覽:959
加倉計演算法 發布:2024-11-22 15:08:21 瀏覽:61
python抓圖 發布:2024-11-22 15:06:50 瀏覽:578
oppo手機便簽怎麼加密 發布:2024-11-22 14:59:21 瀏覽:903
linuxclass 發布:2024-11-22 14:59:16 瀏覽:911
安卓平板怎麼畫矢量圖 發布:2024-11-22 14:59:07 瀏覽:609
安卓微信網路設置在哪裡打開 發布:2024-11-22 14:49:40 瀏覽:966
pb復制文件夾 發布:2024-11-22 14:49:37 瀏覽:665
隱藏伺服器的ip埠 發布:2024-11-22 14:36:55 瀏覽:907