说明:出现㊣字黄sk线买入!
{神獒波段}
{INPUT:N(5,1,111),N1(10,1,111),P(3,0.1,30),M(21,0,100);}
N:=5;N1:=10;P:=3;M:=21;
{DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));}
A1:=(IF((DATE <= 1091025),1,0)) * (IF((DATE <= 1091025),1,0));
{DRAWGBK((CLOSE > 0),'5');}
A2:=IF((CLOSE < 800),((AMOUNT / VOL) / 100),((((CLOSE * 2) + HIGH) + LOW) / 4));
A3:=((HHV(HIGH,15)) + (LLV(LOW,30))) / 2;
A4:=EMA((MA(A2,5)),10);
A5:=EMA((MA(A2,15)),10);
A6:=EMA((MA(A2,13)),21);
A7:=((A4 + A5) + A6) / 3;
A8:=(((REF(A7,1)) + A7) + (REF(A7,2))) / 3;
决策线:EMA((MA(CLOSE,5)),3),COLORGREEN;
{PARTLINE(决策线,决策线 > (REF(决策线,3)),RGB(255,0,0)),LINETHICK1,COLORRED;}
UPR:决策线 + (3 * (STD(决策线,10))),COLOR808000;
DWN:决策线 - (3 * (STD(决策线,10))),COLORA10000;
多空价:=A8 * A1,LINETHICK2,COLOR008E00;
半年线:MA(CLOSE,120),POINTDOT,LINETHICK4,COLORGRAY;
年线:MA(CLOSE,250),CROSSDOT,COLOR717143;
STICKLINE((CLOSE > OPEN),HIGH,LOW,0,1),COLORRED;
STICKLINE((CLOSE > OPEN),OPEN,CLOSE,4,1),COLOR5050FF;
STICKLINE((CLOSE < OPEN),OPEN,CLOSE,4,0),COLORFFFF85;
STICKLINE((CLOSE < OPEN),HIGH,LOW,0,0),COLORCYAN;
A9:=((EMA((MA(A2,3)),3)) + (WMA(A2,5))) / 2;
A10:=REF(A9,1);
A11:=BARSCOUNT(CLOSE);
A12:=IF((A11 = 1),0,(((A9 - A10) / A10) * 100));
A13:=REF(CLOSE,1);
A14:=IF((A11 = 1),0,(((CLOSE - A13) / A13) * 100));
A15:=IF((A11 = 1),((CLOSE + OPEN) / 2),A10);
A16:=REF(A9,2);
A17:=((A9 + A10) + A16) / 3;
A18:=((ABS((A9 - A17)) + ABS((A10 - A17))) + ABS((A16 - A17))) / 3;
A19:=IF((A11 < 3),0,((A18 / A9) * 100));
A20:=IF((((A12 > 0.5) AND ((A19 > 0.215) OR (LOW > A15))) AND (CLOSE >= OPEN)),1,0);
A21:=IF((((A12 < (0 - 0.3)) AND ((A19 > 0.2) OR (HIGH < A15))) AND ((OPEN >= CLOSE) OR (A14 < -1))),1,0);
B:=((COUNT(A20,BARSLAST(A21))) = 1) AND A20,LINETHICK0;
D:=((COUNT(A21,BARSLAST(A20))) = 1) AND A21,LINETHICK0;
A22:=BARSLAST(B);
A23:=((SUM(D,A22)) = 0) * A22;
A24:=A23 > 0;
A25:=A23 = 0;
STICKLINE(A24,CLOSE,OPEN,3,0),COLORMAGENTA;
STICKLINE(A24,CLOSE,OPEN,2.7,0),COLORFF28FF;
STICKLINE(A24,CLOSE,OPEN,2.6,0),COLORFF3DFF;
STICKLINE(A24,CLOSE,OPEN,2.5,0),COLORFF51FF;
STICKLINE(A24,CLOSE,OPEN,2.4,0),COLORFF65FF;
STICKLINE(A24,CLOSE,OPEN,2.3,0),COLORFF7AFF;
STICKLINE(A24,CLOSE,OPEN,2.2,0),COLORFF8EFF;
STICKLINE(A24,CLOSE,OPEN,1,0),COLORFFA2FF;
STICKLINE(A25,CLOSE,OPEN,3,0),COLORFFFD02;
STICKLINE(A25,CLOSE,OPEN,2.7,0),COLORF8FF24;
STICKLINE(A25,CLOSE,OPEN,2.6,0),COLORFDFF4A;
STICKLINE(A25,CLOSE,OPEN,2.5,0),COLORFCFF69;
STICKLINE(A25,CLOSE,OPEN,2.4,0),COLORFDFD97;
STICKLINE(A25,CLOSE,OPEN,2.3,0),COLORFFFFA2;
STICKLINE(A25,CLOSE,OPEN,2.2,0),COLORFFFFB6;
STICKLINE(A25,CLOSE,OPEN,1,0),COLORFFFFCC;
STICKLINE(B,CLOSE,OPEN,3,0),COLORYELLOW;
STICKLINE(D,CLOSE,OPEN,3,0),COLOR00BE00;
DRAWTEXT(B,(LOW * 0.98),'㊣'),LINETHICK2,COLORWHITE;
DRAWTEXT(D,(HIGH * 1.035),'S'),LINETHICK2,COLORGREEN;
{[PARTLINE(决策线,决策线 > (REF(决策线,3)),RGB(255,0,0)),LINETHICK1,COLORRED;}
A26:=(((CLOSE / A13) - 1) * 100) >= (7 * A1);
A27:=HIGH - ((HIGH - LOW) / 3);
A28:=LOW + ((HIGH - LOW) / 3);
{PARTLINE(多空价,多空价 > (REF(多空价,3)),RGB(255,0,0)),LINETHICK2,COLORRED;}
{DRAWTEXTREL(10,800,'㊣十二星座*神獒赢富㊣'),LINETHICK1,COLOR00EEFF;}
{DRAWGBK((CLOSE > 0),STRIP(RGB(4,1,28),RGB(4,1,35),0));}
BBI:(MA(CLOSE,3)+MA(CLOSE,6)+MA(CLOSE,12)+MA(CLOSE,24))/4; |