当前位置:分析家公式网 → 股票公式 → 同花顺公式 → 一键转帖:盘古开天(同花顺指标 主图 源码 测试图)
软件名称:[B]盘古开天(同花顺指标 主图 源码 测试图)[/B]
软件类型:国产软件
运行环境:Win10/Win9X/Win8/Win2000/WinXP/Win2003/Win7/
软件语言:简体中文
授权方式:免费版
软件大小:6.00 KB
官方主页:Home Page
更新时间:2023-02-18 00:05:08
软件简介:
盘古开天
买线:EMA(C,2);
卖线:EMA(SLOPE(C,21)*20+C,42);
BU:=CROSS(买线,卖线);
SEL:=CROSS(卖线,买线);
DRAWICON(BU,L-0.1,1);
DRAWICON(SEL,H+0.1,2);
STICKLINE(买线>=卖线,LOW,HIGH,0.0,1),colorred;
STICKLINE(买线>=卖线,CLOSE,OPEN,9,1),colorred;
STICKLINE(买线<卖线,LOW,HIGH,0.0,1),colorgreen;
STICKLINE(买线<卖线,CLOSE,OPEN,9,1),colorgreen;
STICKLINE(BU,OPEN,CLOSE,9,0),coloryellow;
STICKLINE(SEL,OPEN,CLOSE,9,0),colorblue;
{EMA10:EMA(CLOSE,10),colorred;}
{EMA5:EMA(CLOSE,5),colorwhite;}
{绿降:(46.18*EMA(CLOSE,10)-31.82*EMA(CLOSE,4))/14.36,colorgreen,LINETHICK1; }
{MA9:MA(CLOSE,9),colorcyan,LINETHICK2;}
{MA20:MA(CLOSE,20),colormagenta;}
LC:=REF(CLOSE,1);
RSI:=((SMA(MAX((CLOSE - LC),0),3,1) / SMA(ABS((CLOSE - LC)),3,1)) * 100);
EMA3:=EMA(CLOSE,3);
EMA21:=EMA(CLOSE,21);
DRAWTEXT(CROSS(EMA3,EMA21),(LOW * 0.99),'底背离'),COLOR0000FF;
AA:=(HHV(HIGH,20) - (2 * ATR));
BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);
BBB:=BARSLAST(BB);
SSSB:=BARSLAST(SSS);
B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)));
B1B:=BARSLAST(B1);
B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3));
B2B:=BARSLAST(B2);
B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2));
DRAWTEXT((B1 = 1),(LOW*0.98),'跟进'),coloryellow;
DRAWTEXT((B2 = 1),(LOW*0.98),'加码'),COLORFFAAFF;
A:=EMA(C,14),colorwhite,LINETHICK1;
B:=(A-REF(A,1))/REF(A,1)*100,NODRAW;
支撑:IF(B>=0,REF(EMA(C,14),BARSLAST(CROSS(B,0))+1),DRAWNULL),colorblue,LINETHICK2;
阻力:IF(B<0,REF(EMA(C,14),BARSLAST(CROSS(0,B))+1),DRAWNULL),colorgreen,LINETHICK2;
M5:MA(CLOSE,5);
M10:MA(CLOSE,10);
M30:MA(CLOSE,30);
VAR1:=SUM(MAX(MAX(HIGH-LOW,ABS(HIGH-REF(CLOSE,1))),ABS(LOW-REF(CLOSE,1))),25);
VAR2:=HIGH-REF(HIGH,1);
VAR3:=REF(LOW,1)-LOW;
VAR4:=SUM(IF(VAR2>0 AND VAR2>VAR3,VAR2,0),25);
VAR5:=SUM(IF(VAR3>0 AND VAR3>VAR2,VAR3,0),25);
VAR6:=VAR4*100/VAR1;
VAR7:=VAR5*100/VAR1;
VAR8:=MA(ABS(VAR7-VAR6)/(VAR7+VAR6)*100,15);
VAR9:=(VAR8+REF(VAR8,15))/2;
BUY1:=ZIG(3,10);
SELL1:=MA(BUY1,2);
DRAWICON(CROSS(BUY1,SELL1),L-0.1,7);
DRAWICON(CROSS(SELL1,BUY1),H+0.1,8);
STICKLINE(BUY1>SELL1 AND O>=C,C,O,-1,0),colorred;
STICKLINE(BUY1>SELL1 AND O>=C,L,H,0,0),colorred;
STICKLINE(BUY1<SELL1 AND O<=C,O,C,-1,1),colorcyan;
STICKLINE(BUY1<SELL1 AND O<=C,O,L,0,1),colorcyan;
STICKLINE(BUY1<SELL1 AND O<=C,C,H,0,1),colorcyan;
VAR11:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100;
VAR12:=SMA(VAR11,3,1);
VAR13:=SMA(VAR12,3,1);
VAR14:=VAR13 AND VAR13<20;
LJB:=1/WINNER(CLOSE);
[url=http://www.70822.com/soft/sort013/sort036/down-166341.html]盘古开天(同花顺指标 主图 源码 测试图)[/url]