当前位置:首页 » 操作系统 » 期货指标公式源码

期货指标公式源码

发布时间: 2024-11-07 14:53:05

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);

热点内容
我的世界2b2t服务器的边境 发布:2024-11-23 02:47:30 浏览:121
冒险岛服务端源码 发布:2024-11-23 02:43:34 浏览:796
我的世界基岩版开服服务器 发布:2024-11-23 02:40:45 浏览:41
超星访问书 发布:2024-11-23 02:23:49 浏览:793
内存算法 发布:2024-11-23 02:23:03 浏览:118
自由落体c语言 发布:2024-11-23 02:09:25 浏览:682
csqlitelinux 发布:2024-11-23 01:51:15 浏览:615
c语言中提示有没有安装编译器 发布:2024-11-23 01:45:28 浏览:350
云上压缩 发布:2024-11-23 01:39:56 浏览:820
电脑总是服务器错误 发布:2024-11-23 01:39:45 浏览:545