九毛八公式指标
RSV:=(CLOSE-LLV(LOW,9))/(HHV(HIGH,9)-LLV(LOW,9))*100; K:SMA(RSV,3,1),COLORGREEN; D:SMA(K,3,1),COLORWHITE; J:3*K-2*D,COLORRED; 金:STICKLINE(CROSS("KDJ.K#WEEK","KDJ.D#WEEK") ,28,0,3,0),COLOR00FFFF; 月金:STICKLINE(CROSS("KDJ.K#MONTH","KDJ.D#MONTH") ,28,0,3,0),COLORRED; 死:STICKLINE(CROSS("KDJ.D#WEEK","KDJ.K#WEEK") ,72,100,3,0),,COLORCCCC00; 月死:STICKLINE(CROSS("KDJ.D#MONTH","KDJ.K#MONTH") ,72,100,3,0),COLORGREEN; DRAWTEXT(CROSS("KDJ.K#WEEK","KDJ.D#WEEK"),28,'→金'),COLORYELLOW; DRAWTEXT(CROSS("KDJ.K#MONTH","KDJ.D#MONTH"),28,'→月金'),COLORRED; DRAWTEXT(CROSS("KDJ.D#WEEK","KDJ.K#WEEK"),72,'→死'),COLORCCCC00; DRAWTEXT(CROSS("KDJ.D#MONTH","KDJ.K#MONTH"),72,'→月死'),COLORGREEN; 1.出现金叉或月金叉时选股。 2.同时出现金叉和月金叉选股 麻烦老师帮忙写下上面两个选股公式,万分感激!
公式模块:
XG1:crOSS("kdj.K#WEEK","kdJ.D#WEEK") OR CROSS("KDJ.K#MONTH","KDJ.D#MONTH");
XG2:CROSS("KDJ.K#WEEK","KDJ.D#WEEK") AND CROSS("KDJ.K#MONTH","KDJ.D#MONTH");