ZY保罗 高抛低吸
2016-10-27 9:45:25点击:
{ZY保罗}{主图叠加}{大智慧L2公式}
{ input:DATA(5,1,50);
www.88gs.com}
a1:=((((((3 * C) + L) + O) + H) / 6));
B:((((((((((((((((((((((20 * a1) + (19 * (REF(a1,1)))) + (18 * (REF(a1,2)))) + (17 * (REF(a1,3)))) + (16 * (REF(a1,4)))) + (15 * (REF(a1,5)))) + (14 * (REF(a1,6)))) + (13 * (REF(a1,7)))) + (12 * (REF(a1,8)))) + (11 * (REF(a1,9)))) + (10 * (REF(a1,10)))) + (9 * (REF(a1,11)))) + (8 * (REF(a1,12)))) + (7 * (REF(a1,13)))) + (6 * (REF(a1,14)))) + (5 * (REF(a1,15)))) + (4 * (REF(a1,16)))) + (3 * (REF(a1,17)))) + (2 * (REF(a1,18)))) + (REF(a1,20))) / 210)),linethick2,colorMagenta;
生命线:((EMA((((SLOPE(C,21)) * 20) + C),55))),linethick2,colorGreen;
趋势线:((EMA(C,3))),linethick1,colorRed;
a2:=((MA(B,10)));
a3:=((IF((C > 150),91.3,0.913)));
a4:=(((((ZIG(3,DATA)) > (REF((ZIG(3,DATA)),1))) AND ((REF((ZIG(3,DATA)),1)) <= (REF((ZIG(3,DATA)),2)))) AND ((REF((ZIG(3,DATA)),2)) <= (REF((ZIG(3,DATA)),3)))));
STICKLINE(a4,(L - 0.05),(L - 0.1),5,0),colorGreen;
DRAWTEXT(a4,(L - 0.12),'底吸'),linethick3,colorRed;
a5:=(((((ZIG(3,DATA)) < (REF((ZIG(3,DATA)),1))) AND ((REF((ZIG(3,DATA)),1)) >= (REF((ZIG(3,DATA)),2)))) AND ((REF((ZIG(3,DATA)),2)) >= (REF((ZIG(3,DATA)),3)))));
DRAWTEXT(a5,(H + 0.08),'高抛'),linethick3,colorGreen;
STICKLINE(a5,(H + 0.05),(H + 0.1),5,0),colorRed;
a6:=((((ZIG(3,10)) < (REF((ZIG(3,10)),1))) AND ((REF((ZIG(3,10)),1)) > (REF((ZIG(3,10)),2)))));
a7:=((((ZIG(3,10)) > (REF((ZIG(3,10)),1))) AND ((REF((ZIG(3,10)),1)) < (REF((ZIG(3,10)),2)))));
STICKLINE(a6,C,O,8,0),colorYellow;
STICKLINE(a6,C,O,3,0),colorYellow;
STICKLINE(a6,H,L,1,0),colorYellow;
STICKLINE(a7,C,O,8,0),ColorFF3399;
STICKLINE(a7,C,O,3,0),ColorFF3399;
STICKLINE(a7,H,L,1,0),ColorFF3399;
VERTLINE((TIME = 150000),6),linethick2,colorMagenta;
{类型: ->其它
公式描述: 高抛低吸
}
{------------------ ------------------};