如果您需要代寫公式, 請聯絡我。
龍哥QQ:591438821
龍哥微信:Long622889
籌碼周月副圖
周R:"RSI.RSI1#WEEK";
月R:"RSI.RSI1#MONTH";
N1:=6;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
全套牢1:=COST(0.01);
全套牢底1:L< 全套牢1 AND RSI1< 20,COLOR8977FF,NODRAW;
STICKLINE(全套牢底1,0,38,2,0),COLOR8977FF;
全套牢買點1:REF(全套牢底1,1)=1 AND 全套牢底1=0,COLORRED,NODRAW;
STICKLINE(全套牢買點1,0,50,2,0),COLORRED;
全套牢2:=COST(0.05);
全套牢底2:L< 全套牢2 AND RSI1< 25,COLOR00FFFF,NODRAW;
STICKLINE(全套牢底2,0,20,2,0),COLOR00FFFF;
全套牢買點2:REF(全套牢底2,1)=1 AND 全套牢底2=0,COLORFF00FF,NODRAW;
STICKLINE(全套牢買點2,0,30,2,0),COLORFF00FF;
全解套2:=COST(0.7);
全解套頂2:H>全解套2 AND RSI1>83,COLORFFFFFF,NODRAW;
STICKLINE(全解套頂2,0,38,2,0),COLORFFFFFF;
全解套點2:REF(全解套頂2,1)=1 AND 全解套頂2 =0,COLORFFFF00,NODRAW;
STICKLINE(全解套點2,0,50,2,0),COLORFFFF00;
DRAWTEXT(全解套點2,50,'危險'),COLOR0066FF;
全解套1:=COST(0.5);
全解套頂1:H>全解套1 AND RSI1>80,COLOR00FF00,NODRAW;
STICKLINE(全解套頂1,0,20,2,0),COLOR00FF00;
全解套點1:REF(全解套頂1,1)=1 AND 全解套頂1 =0,COLORFF0000,NODRAW;
STICKLINE(全解套點1,0,30,2,0),COLORFF0000;
DRAWTEXT(全解套點1,30,'小心'),COLOR0000FF;
DRAWTEXT(全解套頂2,40,'警覺'),COLOR00FFFF;
DRAWTEXT(全套牢買點1,50,'抄底'),COLOR00FFFF;
DRAWTEXT(全套牢買點2,30,'準備'),COLOR00FFFF;
抄底選股原始碼如下:
N1:=6;
LC:=REF(CLOSE,1);
RSI1:=SMA(MAX(CLOSE-LC,0),N1,1)/SMA(ABS(CLOSE-LC),N1,1)*100;
全套牢1:=COST(0.01);
全套牢底1:=L< 全套牢1 AND RSI1< 20;
REF(全套牢底1,1)=1 AND 全套牢底1=0;