以下是同花顺超级主图公式
同花顺超级主图公式
源码
红先锋1:MA(CLOSE,M1);
红先锋2:MA(CLOSE,M2);
红先锋3:MA(CLOSE,M3);
红先锋4:MA(CLOSE,M4);
红先锋5:MA(CLOSE,M5);
红先锋6:MA(CLOSE,M6);
红先锋7:=(100 – ((90 * (HHV(HIGH,14) – CLOSE)) / (HHV(HIGH,14) – LLV(LOW,14))));
红先锋8:=(100 – ((90 * (HHV(HIGH,14) – CLOSE)) / (HHV(HIGH,14) – LLV(LOW,14))));
红先锋9:=(100 – MA(((100 * (HHV(HIGH,6) – CLOSE)) / (HHV(HIGH,6) – LLV(LOW,6))),34));
红先锋12:=REF(C,1);
涨停:=IF((C-红先锋12)*100/红先锋12>=(10-0.01*100/红先锋12),1,0);
STICKLINE(涨停,OPEN,CLOSE,1,0),coloryellow;
STICKLINE(涨停,H,L,0,0),coloryellow;
红先锋13:=SMA(MAX(C-REF(C,1),0),6,1)/SMA(ABS(C-REF(C,1)),6,1)*100;
DRAWICON(CROSS(82,红先锋13),HIGH,8);
红先锋14:=EMA((C-LLV(L,5))/(HHV(H,6)-LLV(L,6)),2)*100,coloryellow,LINETHICK1;
红先锋15:=SMA(SMA(红先锋14,2,1),2,1);
红先锋16:=(红先锋15/2+36.8)*1;
红先锋17:=SMA(红先锋16,2,1)+2.2,COLORFFFF00;
红先锋18:=SMA(红先锋16,2,1)-35.08,COLOR00FF00,LINETHICK1;
红先锋19:DRAWTEXT(CROSS(红先锋17,红先锋14*0.9998+0.0018) AND 红先锋17>67,H*1.0012,”),COLOR00FF00;
红先锋20:DRAWTEXT(CROSS(红先锋17,红先锋14*0.9998+0.0018) AND 红先锋17>67,H*1.0012,’▼’),COLOR00FF00;
加仓:DRAWTEXT(CROSS(红先锋14,红先锋18*0.9998+0.0018),L*0.986,’▲’),COLOR0000FF;
红先锋21:=EMA(C,14);
红先锋22:=(红先锋21-REF(红先锋21,1))/REF(红先锋21,1)*100;
红先锋23:=CLOSE>REF(CLOSE,1) AND CLOSE>REF(CLOSE,2);
红先锋24:=REF(红先锋23,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
红先锋25:=REF(红先锋24,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
红先锋26:=REF(红先锋25,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
红先锋27:=REF(红先锋26,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
红先锋28:=REF(红先锋27,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
红先锋29:=REF(红先锋28,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
红先锋30:=REF(红先锋29,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
红先锋31:=REF(红先锋30,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
红先锋32:=REF(红先锋31,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
红先锋33:=REF(红先锋32,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
红先锋34:=REF(红先锋33,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
红先锋35:=CLOSE<REF(CLOSE,1) AND CLOSE<REF(CLOSE,2);
红先锋36:=REF(红先锋35,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
红先锋37:=REF(红先锋36,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
红先锋38:=REF(红先锋37,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
红先锋39:=REF(红先锋38,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
红先锋40:=REF(红先锋39,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
红先锋41:=REF(红先锋40,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
红先锋42:=REF(红先锋41,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
红先锋43:=REF(红先锋42,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
红先锋44:=REF(红先锋43,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
红先锋45:=REF(红先锋44,1) AND CLOSE<=REF(CLOSE,1) AND CLOSE>=REF(CLOSE,2);
红先锋46:=REF(红先锋45,1) AND CLOSE>=REF(CLOSE,1) AND CLOSE<=REF(CLOSE,2);
红先锋47:=REF(红先锋35 OR 红先锋36 OR 红先锋37 OR 红先锋38 OR 红先锋39 OR 红先锋40 OR 红先锋41 OR
红先锋42 OR 红先锋43 OR 红先锋44 OR 红先锋45 OR 红先锋46,1) AND 红先锋23;
红先锋48:=REF(红先锋23 OR 红先锋24 OR 红先锋25 OR 红先锋26 OR 红先锋27 OR 红先锋28 OR 红先锋29 OR
红先锋30 OR 红先锋31 OR 红先锋32 OR 红先锋33 OR 红先锋34,1) AND 红先锋35;
DRAWICON(FILTER(红先锋47=1,5),LOW,1);
DRAWICON(FILTER(红先锋48=1,5),HIGH,2);
评论(0)