指标(不太准)奇妙的规避了小波,只做大波,却到达了大赚小赔(根本只赚不赔),熊市不但躲过了风险,还能赢利!
0 q6 A) @$ }% [简单版源码:粗黄线内做波段,双黄线全仓,单黄线半仓
1 ^( [; H3 G+ _, L2 W* j1 z{太阳操盘主图}2 y }& |, h# q
FL:MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),2)),PRECIS2,colorf4e202;
' U+ R7 \4 c, P' `FS:MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),2),PRECIS2,colorf4e202,linethick1;
, S% ^" x- r# O* n2 ^! Y; E7 vCG:IF(MA(CLOSE,17) 79)),MM,0);
5 i* Q$ ^( h l, _3 YDRAWicon(DB,(HIGH * 1.005),2);
) {8 W- W; s5 rDRAWTEXT(DB,(HIGH * 1.05),'减仓'),LINETHICK2,colorFF6699;; U1 p8 x0 B' d `: y3 D ^
- y+ r) ^$ `+ K0 c
! r9 W1 C- E4 U/ ~9 |& V. _4 R* o{太阳仓位副图}5 w' H+ k" r7 y& T6 _
{参数1 p1: 5, 2 ,20}
1 R9 e" ^2 h9 c{参数2 p2: 4, 2 ,20}% p; a$ Y- X! l* p9 W. g
减仓线:70, POINTDOT,COLOryellow;
. U! { s' A: S/ q9 A2 E# y增仓线:45, POINTDOT,colorf4e202;, S/ x/ i$ G* F5 L2 H3 N
var1:=LLV(LOW,P1);
0 A0 d: s9 X; o: d% gvar2:=HHV(HIGH,P1);
. j0 ?( s+ s+ A5 V/ j黄线上穿增: EMA((CLOSE-var1)/(var2-var1)*100,P2),COLOryellow,LINETHICK1;9 ]% f2 E2 V$ M5 R
黄线下穿减: EMA(0.667*REF(黄线上穿增,1)+0.333*黄线上穿增,2),colorf4e202,LINETHICK1;
8 [# R2 h0 H& j* ~FL:=MA(CLOSE,17)+ABS(MA(CLOSE,17)-REF(MA(CLOSE,17),2));
. C! [ ]- r" I! A7 b8 ^FS:=MA(CLOSE,17)+MA(CLOSE,17)-REF(MA(CLOSE,17),2);) B+ z; W' M! a" V8 w
CG:=IF(MA(CLOSE,17) |