1、【大智慧】趋势分析(压力、支撑)-指标公式源码SAT:=IF(AMOUNT)/(CLOSE)/(HHV(AMOUNT,20)/(HHV(CLOSE,20)*(100)100),100,(AMOUNT)/(CLOSE)/(HHV(AMOUNT,20)/(HHV(CLOSE,20)*(100);AA10:MA(CLOSE,8),CoLor00FFFF;AA12:MA(CLOSE,12),CoLor00FFFF;BB10:=(ATAN(AA10-REF(AA10,1)*(3.1416)*(10);BB12:=(ATAN(AA12-REF(AA12,1)*(3.1416)*(10);MA13:=MA(
2、CLOSE,13);X1:=(CLOSE+LOW+HIGH)/(3);BB13:=(ATAN(EMA(X1,13)-REF(EMA(X1,13),1)*(3.1416)*(10);EMA8:=EMA(CLOSE,8);DRAWTEXT(FILTER(BB131) AND (EMA(X1,13)REF(EMA(X1,8),1),10),EMA8,45 上升),CoLorFFFFFF;压力:MA(REF(HHV(CLOSE,30),1),2),CoLor9DFFFF;支撑:MA(REF(LLV(CLOSE,30),1),2),CoLorABFF46;AA1:=(AMOUNT)/(VOL);BB1:
3、=(LOW1.2);DD1:=(LOWREF(CLOSE,1),HIGH,LOW,0,1),CoLor0000FF;STICKLINE(CLOSEREF(CLOSE,1),OPEN,CLOSE,8,0),CoLor000055 ;STICKLINE(CLOSE=REF(CLOSE,1),HIGH,LOW,0,1),CoLorFFFFFF;STICKLINE(CLOSE=REF(CLOSE,1),OPEN,CLOSE,8,1),CoLor333333;STICKLINE(CLOSEOPEN),OPEN,LOW,0.5,0),CoLor0000FF;STICKLINE(CLOSEOPEN),CLO
4、SE,HIGH,0.5,0),CoLor0000FF;STICKLINE(OPEN=CLOSE),CLOSE,LOW,0.5,0),CoLor00FF00;STICKLINE(OPEN=CLOSE),OPEN,HIGH,0.5,0),CoLor00FF00;STICKLINE(OPEN=CLOSE),CLOSE,OPEN,7,0),CoLorFF7700;STICKLINE(OPEN=CLOSE),CLOSE,OPEN,6,0),CoLorFF9900;STICKLINE(OPEN=CLOSE),CLOSE,OPEN,5,0),CoLorFFBB00;STICKLINE(OPEN=CLOSE)
5、,CLOSE,OPEN,4,0),CoLorFFCC00;STICKLINE(OPEN=CLOSE),CLOSE,OPEN,3,0),CoLorFFDD00;STICKLINE(OPEN=CLOSE),CLOSE,OPEN,2,0),CoLorFFEE00;STICKLINE(OPEN=CLOSE),CLOSE,OPEN,1,0),CoLorFFFF00;STICKLINE(CLOSEOPEN),CLOSE,OPEN,7,0),CoLor000055 ;STICKLINE(CLOSEOPEN),CLOSE,OPEN,6,0),CoLor000066 ;STICKLINE(CLOSEOPEN),
6、CLOSE,OPEN,5,0),CoLor000077;STICKLINE(CLOSEOPEN),CLOSE,OPEN,4,0),CoLor000099 ;STICKLINE(CLOSEOPEN),CLOSE,OPEN,3,0),CoLor0000BB;STICKLINE(CLOSEOPEN),CLOSE,OPEN,2,0),CoLor0000DD;STICKLINE(CLOSEOPEN),CLOSE,OPEN,1,0),CoLor0000FF;VAR9Q:=(CLOSE=HHV(CLOSE,4) AND (REF(CLOSE,1)=REF(CLOSE,2) or (REF(CLOSE,1)=
7、REF(CLOSE,3) or (REF(CLOSE,1)=HHV(CLOSE,4) AND (CLOSE=REF(CLOSE,2) or (REF(CLOSE,2)=HHV(CLOSE,4) AND (REF(CLOSE,3)=LLV(CLOSE,4) AND (CLOSE=REF(CLOSE,1) or (REF(CLOSE,3)=HHV(CLOSE,4) AND (CLOSE=REF(CLOSE,1) AND (CLOSE=REF(CLOSE,2);STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/(2),7,0),CoLor000055 ;STICKLINE(VAR
8、9Q,CLOSE,(OPEN+CLOSE)/(2),6,0),CoLor000066;STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/(2),5,0),CoLor000077;STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/(2),4,0),CoLor000099 ;STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/(2),3,0),CoLor0000BB;STICKLINE(VAR9Q,CLOSE,(OPEN+CLOSE)/(2),2,0),CoLor0000DD;STICKLINE(VAR9Q,CLOSE,(OPEN+CLOS
9、E)/(2),1,0),CoLor0000FF;VARAQ:=(CLOSE=HHV(CLOSE,4) AND (REF(CLOSE,1)=LLV(CLOSE,4);STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/(2),7,0),CoLorFF11FF;STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/(2),6,0),CoLorFF33FF;STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/(2),5,0),CoLorFF55FF;STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/(2),4,0),CoLorF
10、F77FF;STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/(2),3,0),CoLorFF99FF;STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/(2),2,0),CoLorFFBBFF;STICKLINE(VARAQ,CLOSE,(OPEN+CLOSE)/(2),1,0),CoLorFFDDFF;VARBQ:=(CLOSE=LLV(CLOSE,4) AND (REF(CLOSE,1)HHV(CLOSE,4) AND (CLOSE=REF(CLOSE,2) or (REF(CLOSE,2)=LLV(CLOSE,4) AND (REF(CLOSE,
11、1)=REF(CLOSE,1);STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),7,0),CoLor003300;STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),6,0),CoLor005500;STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),5,0),CoLor007700;STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),4,0),CoLor009900;STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),3,0),CoLor00BB00;STICKLINE
12、(VARCQ,OPEN,(OPEN+CLOSE)/(2),2,0),CoLor00DD00;STICKLINE(VARCQ,OPEN,(OPEN+CLOSE)/(2),1,0),CoLor00FF00;VARDQ:=(REF(CLOSE,1)=HHV(CLOSE,4) AND (CLOSEREF(CLOSE,3) or (REF(CLOSE,3)=HHV(CLOSE,4) AND (REF(CLOSE,1)REF(CLOSE,2) AND (REF(CLOSE,2)=REF(CLOSE,4) AND (CLOSEREF(CLOSE,1);STICKLINE(VARDQ,OPEN,(OPEN+C
13、LOSE)/(2),7,0),CoLorFF1100;STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),6,0),CoLorFF3300;STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),5,0),CoLorFF5500;STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),4,0),CoLorFF7700;STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),3,0),CoLorFF9900;STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),2,0),CoLorFFBB00;STICKLINE(VARDQ,OPEN,(OPEN+CLOSE)/(2),1,0),CoLorFFDD00;【大智慧】趋势分析(压力、支撑)-指标公式效果图(文档来源:若水财经社区)