以下是同花顺傅吾豪新编经箭头为买入参考信号,绿箭头为卖出参考信号源码和截图
同花顺傅吾豪均线新编经箭头为买入参考信号,绿箭头为卖出参考信号源码:
VAR1:=REF(LOW,1);
VAR2:=SMA(ABS(LOW-VAR1),3,1)/SMA(MAX(LOW-VAR1,0),3,1)*100;
VAR3:=EMA(IF(CLOSE*1.2,VAR2*10,VAR2/10),3);
VAR4:=LLV(LOW,38);
VAR5:=HHV(VAR3,38);
VAR6:=IF(LLV(LOW,90),1,0);
VAR7:=EMA(IF(LOW =VAR4,(VAR3+VAR5*2)/2,0),3)/618*VAR6;
VAR8:=((C-LLV(L,21))/(HHV(H,21)-LLV(L,21)))*100;
VAR9:=SMA(VAR8,13,8);
底线:0,COLOR00FFFF;
吸货:VAR7,COLOR0000FF;
吸筹1:STICKLINE(VAR7,0,VAR7,6,0),COLOR0000FF;
吸筹2:STICKLINE(VAR7,0,VAR7,5,0),COLOR6600FF;
吸筹3:STICKLINE(VAR7,0,VAR7,4,0),COLORBB00FF;
吸筹4:STICKLINE(VAR7,0,VAR7,3,0),COLORFF00FF;
吸筹5:STICKLINE(VAR7,0,VAR7,2,0),COLORFF33FF;
吸筹6:STICKLINE(VAR7,0,VAR7,1,0),COLORFF66FF;
吸筹7:STICKLINE(VAR7,0,VAR7,0,0),COLORFF99FF;
风险:CEILING(SMA(VAR9,13,8)),LINETHICK2,colorgreen;
涨跌:MA(3*SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1)-2*
SMA(SMA((C-LLV(L,27))/(HHV(H,27)-LLV(L,27))*100,5,1),3,1),5),LINETHICK2,colorred;
傅吾豪均线6:EMA(CLOSE,6),colorwhite,LINETHICK2;
傅吾豪均线:EMA(CLOSE,18),coloryellow,LINETHICK4;
红升6:IF(傅吾豪均线6 REF(傅吾豪均线6,1),傅吾豪均线6,DRAWNULL),colormagenta,LINETHICK2;
绿降6:IF(傅吾豪均线6 REF(傅吾豪均线6,1),傅吾豪均线6,DRAWNULL),colorblue,LINETHICK2;
红升:IF(傅吾豪均线 REF(傅吾豪均线,1),傅吾豪均线,DRAWNULL),colorred,LINETHICK4;
绿降:IF(傅吾豪均线 REF(傅吾豪均线,1),傅吾豪均线,DRAWNULL),colorgreen,LINETHICK4;
DRAWICON(傅吾豪均线 =REF(傅吾豪均线,1)ANDCROSS(CLOSE,傅吾豪均线*1.015),L*0.98,1);
DRAWICON(傅吾豪均线 REF(傅吾豪均线,1)ANDCROSS(傅吾豪均线*0.985,CLOSE),H*1.02,2);
D:=IF(CROSS(MA(C,5),MA(C,10))OR(MA(C,5)=MA(C,10)ANDMA(C,5) REF(MA(C,5),1)),1,0);
均线上通道:D+IF(D 0AND(MA(C,13)-REF(MA(C,13),1)) 0,1,0)STICK,COLORRED;
均线转正向:IF(MA(C,5) REF(MA(C,5),1)AND(REF(MA(C,5),1)-REF(MA(C,5),2)) =0ANDC MA(C,5),1,0)STICK,COLORRED;
A:=IF(C REF(C,1)ANDVOL REF(VOL,1),2,IF(C REF(C,1)ANDVOL REF(VOL,1),1,IF(C =REF(C,1)ANDVOL REF(VOL,1),-2,-1)));
B:=IF(C MA(C,5),1,-1);
均线斜率:(MA(C,5)/REF(MA(C,5),1)-1)*100;
E:=(REF(A,1)+REF(A,2)+REF(A,3)+REF(A,4)+A+B)/5;
均线转负向:IF(MA(C,5) =REF(MA(C,5),1)AND(REF(MA(C,5),1)-REF(MA(C,5),2)) =0ANDC MA(C,5),-2,0)STICK,COLORGREEN;
F:=(REF(A,1)+REF(A,2)+REF(A,3)+REF(A,4)+A+B)/5;
量价配合评分:F;
BB:0;
同花顺傅吾豪均线新编经箭头为买入参考信号,绿箭头为卖出参考信号截图