期貨指標公式源碼
A. 高懸賞求博易大師期貨指標公式
XG1:=REF(V=HHV(V,4),1) AND V<REF(V,1)/2 AND SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100>70;
XG2:=REF(V=HHV(V,4),1) AND V<REF(V,1)/2 AND SMA(MAX(CLOSE-REF(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-REF(CLOSE,1)),6,1)*100<30;
DRAWICON(XG1,H,5);
DRAWICON(XG2,L,4);
DRAWTEXT(CROSS(MA(C,5),MA(C,10)),MA(C,5),'上穿'),COLOR0000FF;
DRAWTEXT(CROSS(MA(C,10),MA(C,5)),MA(C,10),'下穿'),COLOR00FF00;
你所說的5日線和10日線上穿下穿的紅綠標准,我真不知道是哪個,所以就用紅色上穿
綠色下穿來表示了
B. 這個指標是一個做多的期貨指標,哪位老師幫忙到過來,編輯成做空的指標公式。謝謝!!!!
{期貨做空如下}
LC:=REF(CLOSE,1);
TRT:=MAX((HIGH - LOW),MAX((HIGH - LC),(LC - LOW)));
ATR:=SMA(TRT,20,1);AA:=(HHV(HIGH,55) - (2 * ATR));
BB:=CROSS(CLOSE,REF(HHV(HIGH,55),1));
SSS:=CROSS(MIN(MA(CLOSE,13),AA),CLOSE);
BBB:=BARSLAST(BB);
SSSB:=BARSLAST(SSS);
B1:=((BBB = 0) AND (REF(SSSB,1) < REF(BBB,1)));
B1B:=BARSLAST(B1);
B2:=((((BB = 1) AND (B1B < SSSB)) AND (B1B > 0)) AND (COUNT(BB,SSSB) < 3));
B2B:=BARSLAST(B2);B3:=((((BB = 1) AND (B2B < B1B)) AND (COUNT(BB,SSSB) < 4)) AND (COUNT(BB,SSSB) > 2));
B3B:=BARSLAST(B3);SS:=CROSS(MAX(AA,MA(CLOSE,13)),CLOSE);
SS1:=(((SS AND ((B3B < B2B) OR (B2B < B1B))) AND (SSSB > B1B)) AND (COUNT(SS,B2B) < 2));
SS1B:=BARSLAST(SS1);SS2:=((((SS AND (SS1B < SSSB)) AND (B3B < B2B)) AND (SS1B > 0)) AND (COUNT(SS,B2B) < 3));
SSSS:=(SSS AND (REF(SSSB,1) > REF(B1B,1)));
DRAWICON((B1 = 1),(LOW*0.999),1);
DRAWTEXT((B1 = 1),(LOW*0.998),'平倉1'),COLOR0000FF;
DRAWICON((B2 = 1),(LOW*0.999),1);
DRAWTEXT((B2 = 1),(LOW*0.998),'平倉2'),COLOR0000FF;
DRAWICON((B3 = 1),(LOW*0.999),1);
DRAWTEXT((B3 = 1),(LOW*0.998),'平倉3'),COLOR0000FF;
DRAWICON((SS1 = 1),(HIGH*1.001),2);
DRAWTEXT((SS1 = 1),(HIGH*1.002),'多轉空1'),COLOR00FF00;
DRAWICON((SS2 = 1),(HIGH*1.001),2);
DRAWTEXT((SS2 = 1),(HIGH*1.002),'多轉空2'),COLOR00FF00;
DRAWICON((SSSS = 1),(HIGH*1.001),2);
DRAWTEXT((SSSS = 1),(HIGH*1.002),'開空'),COLOR00FF00;
C. 文華財經指標公式大全 期貨成交量指標 期貨畫線指標
HH:=HHV(HIGH,10);
LL:=LLV(LOW,10);
HH1:=BARSLAST((HH>REF(HH,1)));
LL1:=BARSLAST((LL < REF(LL,1)));
DRAWTEXT(CROSS(HH1,LL1),90,'眾'),COLORWHITE;
DRAWTEXT(CROSS(LL1,HH1),90,'4');
DRAWTEXT(CROSS(HH1,LL1),60,'龍'),COLORWHITE;
DRAWTEXT(CROSS(LL1,HH1),60,'8');
DRAWTEXT(CROSS(HH1,LL1),70,'育'),COLORWHITE;
DRAWTEXT(CROSS(LL1,HH1),70,'1');
DRAWTEXT(CROSS(HH1,LL1),50,'指'),COLORWHITE;
DRAWTEXT(CROSS(LL1,HH1),50,'3');
DRAWTEXT(CROSS(HH1,LL1),40,'標'),COLORWHITE;
DRAWTEXT(CROSS(LL1,HH1),40,'7');
DRAWTEXT(CROSS(HH1,LL1),30,'公'),COLORWHITE;
DRAWTEXT(CROSS(LL1,HH1),30,'3');
DRAWTEXT(CROSS(HH1,LL1),20,'式'),COLORWHITE;
DRAWTEXT(CROSS(LL1,HH1),20,'9');
DRAWTEXT(CROSS(HH1,LL1),10,'網'),COLORWHITE;
DRAWTEXT(CROSS(LL1,HH1),10,'6');
DRAWTEXT(CROSS(HH1,LL1),100,'公'),COLORWHITE;
DRAWTEXT(CROSS(LL1,HH1),100,'QQ');
DRAWTEXT(CROSS(HH1,LL1),80,'號'),COLORWHITE;
DRAWTEXT(CROSS(LL1,HH1),80,'8');
110,COLORBLACK;
0,COLORBLACK;
D. 大家幫我看看怎麼修改這個期貨指標
樓主:
指標公式:
VAR1:=DMA(C,V*M/AMOUNT);
VAR2:=EMA(VAR1,N);
VAR3:=VAR2+(VAR2-REF(VAR2,1));
VAR4:=SMA(VAR3,N1,2);
ENTERLONG: CROSS(VAR3,VAR4);
EXITLONG: CROSS(VAR4,VAR3);