橙子买卖主图 选股公式

[复制链接]
查看11 | 回复0 | 2022-7-24 05:58:24 | 显示全部楼层 |阅读模式

橙子买卖主图

DRAWTEXT_FIX(ISLASTBAR,0.1058,0,1,DYBLOCK),COLORYELLOW;
 DRAWTEXT_FIX(ISLASTBAR,0.1258,0,0,HYBLOCK),COLORYELLOW;
 DRAWTEXT_FIX(ISLASTBAR,0.1858,0,0,GNBLOCK),COLORYELLOW;
市值:(CAPITAL/100*C)/10000,NODRAW,COLORYELLOW;
 VAR11:=REF((REF((REF((REF((CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2)),1)
 AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)),1) AND CLOSE<=REF(CLOSE,1)
 AND CLOSE>=REF(CLOSE,2)),1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)),1)
 AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
 VAR12:=REF(VAR11,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
 VAR13:=REF(VAR12,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
 VAR14:=REF(VAR13,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
 VAR15:=REF(VAR14,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
 VAR16:=REF(VAR15,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
 VAR17:=REF(VAR16,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
 VAR18:=REF(VAR17,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
 VAR19:=REF((CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2)) OR (REF((CLOSE<REF(CLOSE,1)
 AND CLOSE<REF(CLOSE,2)),1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))
 OR (REF((REF((CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2)),1) AND CLOSE>=REF(CLOSE,1)
 AND CLOSE<=REF(CLOSE,2)),1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2))
 OR (REF((REF((REF((CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2)),1)
 AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2)),1) AND CLOSE<=REF(CLOSE,1)
 AND CLOSE>=REF(CLOSE,2)),1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2))
 OR VAR11 OR VAR12 OR VAR13 OR VAR14 OR VAR15 OR VAR16 OR VAR17 OR VAR18,1)
 AND (CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2));
 STICKLINE(VAR19,REF(CLOSE,1),REF(CLOSE,2),3,0),COLORMAGENTA ; 
 DRAWICON((CROSS((SMA(MAX(C-(REF((O+H+L+2*C)/5,1)),0),7,1)/SMA(ABS(C-(REF((O+H+L+2*C)/5,1))),7,1)*10),7.1) AND MA(V,5)>MA(V,10)),(LOW * 0.98),17);
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,10))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,20))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,30))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,40))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,50))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,60))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,70))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,80))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,90))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,100))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,110))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,120))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,130))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,140))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,150))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,160))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,170))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,180))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,190))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,200))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,210))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,5)),(MA(C,220))),(MA(CLOSE,5)),'★'),COLOR00FFFF;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,20))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,30))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,40))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,50))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,60))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,70))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,80))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,90))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,100))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,110))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,120))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,130))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,140))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,150))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,160))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,170))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,180))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,190))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,200))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,210))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,10)),(MA(C,220))),(MA(CLOSE,10)),'★'),COLORMAGENTA;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,30))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,40))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,50))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,60))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,70))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,80))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,90))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,100))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,110))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,120))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,130))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,140))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,150))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,160))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,170))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,180))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,190))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,200))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,210))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,20)),(MA(C,220))),(MA(CLOSE,20)),'★'),COLORGREEN,LINETHICK1;
 DRAWTEXT(CROSS((MA(CLOSE,30)),(MA(C,40))),(MA(CLOSE,30)),'★'),COLORYELLOW,COLORRED;
 DRAWTEXT(CROSS((MA(CLOSE,30)),(MA(C,50))),(MA(CLOSE,30)),'★'),COLORYELLOW,COLORRED;
 DRAWTEXT(CROSS((MA(CLOSE,30)),(MA(C,60))),(MA(CLOSE,30)),'★'),COLORYELLOW,COLORRED;
 DRAWTEXT(CROSS((MA(CLOSE,30)),(MA(C,90))),(MA(CLOSE,30)),'★'),COLORYELLOW,COLORRED;
 DRAWTEXT(CROSS((MA(CLOSE,30)),(MA(C,110))),(MA(CLOSE,30)),'★'),COLORYELLOW,COLORRED;
 DRAWTEXT(CROSS((MA(CLOSE,30)),(MA(C,120))),(MA(CLOSE,30)),'★'),COLORYELLOW,COLORRED;
 DRAWTEXT(CROSS((MA(CLOSE,30)),(MA(C,160))),(MA(CLOSE,30)),'★'),COLORYELLOW,COLORRED;
 DRAWTEXT(CROSS((MA(CLOSE,30)),(MA(C,190))),(MA(CLOSE,30)),'★'),COLORYELLOW,COLORRED;
 DRAWTEXT(CROSS((MA(CLOSE,30)),(MA(C,220))),(MA(CLOSE,30)),'★'),COLORYELLOW,COLORRED;
 DRAWTEXT(CROSS((MA(CLOSE,60)),(MA(C,75))),(MA(CLOSE,60)),'★');
 DRAWTEXT(CROSS((MA(CLOSE,60)),(MA(C,90))),(MA(CLOSE,60)),'★');
 DRAWTEXT(CROSS((MA(CLOSE,60)),(MA(C,110))),(MA(CLOSE,60)),'★');
 DRAWTEXT(CROSS((MA(CLOSE,60)),(MA(C,120))),(MA(CLOSE,60)),'★');
 DRAWTEXT(CROSS((MA(CLOSE,60)),(MA(C,160))),(MA(CLOSE,60)),'★');
 DRAWTEXT(CROSS((MA(CLOSE,60)),(MA(C,190))),(MA(CLOSE,60)),'★');
 DRAWTEXT(CROSS((MA(CLOSE,60)),(MA(C,220))),(MA(CLOSE,60)),'★');
 DRAWTEXT(CROSS((MA(CLOSE,90)),(MA(C,120))),(MA(CLOSE,90)),'★');
 DRAWTEXT(CROSS((MA(CLOSE,90)),(MA(C,160))),(MA(CLOSE,90)),'★');
 DRAWTEXT(CROSS((MA(CLOSE,90)),(MA(C,190))),(MA(CLOSE,90)),'★');
 DRAWTEXT(CROSS((MA(CLOSE,90)),(MA(C,220))),(MA(CLOSE,90)),'★');
 DRAWTEXT(CROSS((MA(CLOSE,120)),(MA(C,160))),(MA(CLOSE,120)),'★');
 DRAWTEXT(CROSS((MA(CLOSE,120)),(MA(C,190))),(MA(CLOSE,120)),'★');
 DRAWTEXT(CROSS((MA(CLOSE,120)),(MA(C,220))),(MA(CLOSE,120)),'★');

91600013.gif

91600013.gif

选股公式

TJ:=(CROSS((SMA(MAX(C-(REF((O+H+L+2*C)/5,1)),0),7,1)/SMA(ABS(C-(REF((O+H+L+2*C)/5,1))),7,1)*10),7.1) AND MA(V,5)>MA(V,10));
 A:=CROSS((MA(CLOSE,10)),(MA(C,20)));
 A1:=CROSS((MA(CLOSE,10)),(MA(C,30)));
 A2:=CROSS((MA(CLOSE,10)),(MA(C,40)));
 A3:=CROSS((MA(CLOSE,10)),(MA(C,50)));
 A4:=CROSS((MA(CLOSE,10)),(MA(C,60)));
 A5:=CROSS((MA(CLOSE,10)),(MA(C,70)));
 A6:=CROSS((MA(CLOSE,10)),(MA(C,80)));
 A7:=CROSS((MA(CLOSE,10)),(MA(C,90)));
 A8:=CROSS((MA(CLOSE,10)),(MA(C,100)));
 A9:=CROSS((MA(CLOSE,10)),(MA(C,110)));
 A10:=CROSS((MA(CLOSE,10)),(MA(C,120)));
 A11:=CROSS((MA(CLOSE,10)),(MA(C,130)));
 A12:=CROSS((MA(CLOSE,10)),(MA(C,140)));
 A13:=CROSS((MA(CLOSE,10)),(MA(C,150)));
 A14:=CROSS((MA(CLOSE,10)),(MA(C,160)));
 A15:=CROSS((MA(CLOSE,10)),(MA(C,170)));
 A16:=CROSS((MA(CLOSE,10)),(MA(C,180)));
 A17:=CROSS((MA(CLOSE,10)),(MA(C,190)));
 A18:=CROSS((MA(CLOSE,10)),(MA(C,200)));
 A19:=CROSS((MA(CLOSE,10)),(MA(C,210)));
 A20:=CROSS((MA(CLOSE,10)),(MA(C,220)));
 TJ1:=A1 OR A2 OR A3 OR A4 OR A5 OR A6 OR A7 OR A8 OR A9 OR A10
 OR A11 OR A12 OR A13 OR A14 OR A15 OR A16 OR A17 OR A18 OR A19 OR A20;
 XG:TJ AND TJ1;
 

916144571.jpg

916144571.jpg

91666947.jpg

91666947.jpg

回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则