指标先容:$ _8 O% [ G$ @4 q( U
麟龙四色谱
* S/ u& O# \7 ~2 A8 T
# V0 d& E' H6 T* N. a, R9 X公式源码:
% F# R7 z# ~& wM3:MA(CLOSE,3),colorred,LINETHICK;! M( {$ I0 b7 N
M13:MA(CLOSE,13),colorred,LINETHICK;
0 O |" c o. Q% BM34:MA(CLOSE,34),colorred,LINETHICK;
$ Z7 y3 w0 F5 u7 WX:=BARSLAST(REF(CROSS(C,MA(C,120)),1)) AND CROSS(MA(C,20),MA(C,120));
, q% ^: x% M) L6 ]/ i* ~6 r( fIF(M34 STICKLINE(M3>=M13 AND M34>=REF(M34,1) ,H ,L ,0.1 ,0 ),colorred;
, h0 y$ N1 z8 V4 USTICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C>=O ,O ,C ,3 ,1 ),colorred;
Q2 j7 i6 @* a% X: BSTICKLINE(M3>=M13 AND M34>=REF(M34,1) AND C STICKLINE(M3=REF(M34,1) ,H ,L ,0.1 ,0
5 t- _5 y0 [5 ^) R7 I! _" r% f. g% E! p5 ]( \
),coloryellow;, S: a( q* q7 b. d9 v0 P! a
STICKLINE(M3=REF(M34,1) AND C>=O ,O ,C ,3 ,1 ),coloryellow;
, D$ W( T H- o; jSTICKLINE(M3=REF(M34,1) AND C STICKLINE(M3 STICKLINE(M3=O ,O ,C ,3 ,1 ),colorgreen;
+ {' q6 d' n/ v z4 cSTICKLINE(M3 STICKLINE(M3>=M13 AND M34 STICKLINE(M3>=M13 AND M34=O ,O ,C ,3 ,1
- A0 V$ I) h4 p7 R0 X! n3 i5 W. Y+ i0 C
),colormagenta;
) c% b) g5 ^' k! B& eSTICKLINE(M3>=M13 AND M34 {DRAWTEXT(X,MA(C,120)-0.13,'牛股'),colorred,LINETHICK3;};
1 P. n3 e) ^2 R- }1 ZDRAWTEXT_FIX(1,0.01,0.82,0,'仓位控制:绿色0%,紫色30%,赤色70%,黄色
& w( C) X N7 j7 c* _
( W# p3 i- Z+ a30%'),colormagenta; |