文章预览
源码: AV1:=(0.75*C+0.25*REF(0.75*C,1)); AV2:=(0.75*H+0.25*REF(0.75*H,1)); AV3:=(0.75*L+0.25*REF(0.75*L,1)); RSV1:=(AV1-LLV(AV3,360))/(HHV(AV2,360)-LLV(AV3,360))*100; RSV2:=(HHV(AV2,36)-AV1)/(HHV(AV2,36)-LLV(AV3,36))*100; K:=SMA(RSV1,3,1),COLORWHITE,LINETHICK1; D:=SMA(K,8,1),COLORMAGENTA,LINETHICK1; J:=SMA(D,11,1),COLORCYAN,LINETHICK1; DRAWBAND(K,RGB(118,118,0),D,RGB(118,118,118)); DRAWBAND(D,RGB(118,0,118),J,RGB(0,118,118)); DRAWTEXT(CROSS(D,J),K,'波段买'),COLORRED; DRAWICON(CROSS(D,J),K,7); DRAWTEXT(CROSS(J,D),D,'波段卖'),COLORGREEN; DRAWICON(CROSS(J,D),D,8); 多空分界:SMA(RSV2,3,1),COLORGREEN,LINETHICK2; IF(多空分界 抄底线:95,COLORRED,LINETHICK1; 逃顶线:5,COLORGREEN,LINETHICK1; DRAWTEXT(CROSS(多空分界,95),多空分界,'抄底'),COLORRED; STICKLINE(CROSS(多空分界,95),95,105,1,0),COLORRED; DRAWTEXT(CROSS(5,多空分界),多空分界,'逃顶'),COLORGREEN; STICKLINE(CROSS(5,多空分界),5,15,1,0),COLORGREEN; 解读: AV1,
………………………………