1.?主力指标主力指标redis 源码面试?????ѡָ????δ??Դ??
??????ѡָ????δ??Դ??
涨停龙头强势狙击
主图指标公式:
DRAWBAND(EMA(C,),RGB(,,),EMA(COST(),),RGB(0,0,0));
DRAWKLINE(H,O,L,C);
E:=EMA(C,5);
好运加倍1:=EMA(C,);
好运加倍2:=EMA(C,),LINETHICK2;
好运加倍3:=MA(C,);
条件与逻辑:
A:=CROSS(C,好运加倍2) AND DIF>=DEA AND DIF>=0 AND 好运加倍2>REF(好运加倍2,1) AND C>O;
平均成本:COST(1),COLORLIBLUE;
好运加倍4:=CROSS(C,好运加倍3) AND DIF>=DEA AND C>O;
好运加倍5:=A AND 好运加倍4;
好运加倍6:=REF((C<
副图指标公式:
好运加倍:=(3*C+LOW+OPEN+HIGH)/6;
牛熊线:=(* 好运加倍+*REF( 好运加倍,1)+*REF( 好运加倍,2)+...)/,COLORRED;
上趋势:=MA(LOW,)*1.;
次上趋势:=MA(LOW,)*1.;
次下趋势:=MA(HIGH,)*0.9;
下趋势:=MA(HIGH,)*0.8;
趋势强度:=IF(C>次上趋势,IF(C>上趋势,4,3),IF(C>次下趋势 AND C< 次上趋势,2,IF(C< 下趋势,0,1)));
ZD:=(C-REF(C,1))/REF(C,1)*;
HDZF:=(HHV(H,)-C)/(HHV(H,)-LLV(L,));
百万操作线:=MA(C,);
ABC1:=(C*2+HIGH+LOW)/4;
ABC2:=EMA(ABC1,)-EMA(ABC1,);
ABC3:=EMA(ABC2,5);
ABCA:=(-2)*(ABC2-ABC3)*3.8;
ABCB:=2*(ABC2-ABC3)*3.8;
趋势强度与操作线:
无庄控盘:=IF(主力控盘< 0,主力控盘,0),COLORYELLOW,NODRAW;
开始控盘:=IF(A,,0),LINETHICK3,COLORMAGENTA;
有庄控盘:=IF(主力控盘>REF(主力控盘,1) AND 主力控盘>0,主力控盘,0),COLORRED,NODRAW;
高度控盘:IF(ABC5> AND COST()< C AND 主力控盘>0,主力控盘,0),COLORFFFF,NODRAW;
选股指标公式:
E:=EMA(C,5);
好运加倍1:=EMA(C,);
好运加倍2:=EMA(C,),LINEHICK2;
好运加倍3:=MA(C,);
DIF:=(EMA(C,)-EMA(C,));
DEA:=EMA(DIF,9);
DD:=COST();
DD1:=EMA(DD,),CLORRED;
LS:=CROSS(C,DD1) AND DIF>=0 AND REF((CO AND E>好运加倍1 AND 好运加倍1>好运加倍2; 狙击:CROSS(C,DD1) AND DIF>=0 AND E>好运加倍1 AND 好运加倍1>好运加倍2 AND DIF>=DEA;