顾比均线指标代码超准-顾比均线代码是什么

2023-04-24 技术指标 0次阅读 admin
顾比均线指标代码超准.jpg

关于顾比均线指标代码超准的问题,我们总结了以下几点,给你解答:

顾比均线代码是什么


顾比均线代码是什么

E3:EMA(C,3),COLOR61DC16;
E5:EMA(C,5),COLOR61DC16;
E8:EMA(C,8),COLOR61DC16;
E10:EMA(C,10),COLOR61DC16;
E12:EMA(C,12),COLOR61DC16;
E15:EMA(C,15),COLOR61DC16;
E30:EMA(C,30),COLORD1875A;
E35:EMA(C,35),COLORD1875A;
E40:EMA(C,40),COLORD1875A;
E45:EMA(C,45),COLORD1875A;
E50:EMA(C,50),COLORD1875A;
E60:EMA(C,60),COLORD1875A;
IF(E3>REF(E3,1),E3,DRAWNULL),COLORYELLOW;
IF(E5>REF(E5,1),E5,DRAWNULL),COLORYELLOW;
IF(E8>REF(E8,1),E8,DRAWNULL),COLORYELLOW;
IF(E10>REF(E10,1),E10,DRAWNULL),COLORYELLOW;
IF(E12>REF(E12,1),E12,DRAWNULL),COLORYELLOW;
IF(E15>REF(E15,1),E15,DRAWNULL),COLORYELLOW;
IF(E30>REF(E30,1),E30,DRAWNULL),COLORFF00FF;
IF(E35>REF(E35,1),E35,DRAWNULL),COLORFF00FF;
IF(E40>REF(E40,1),E40,DRAWNULL),COLORFF00FF;
IF(E45>REF(E45,1),E45,DRAWNULL),COLORFF00FF;
IF(E50>REF(E50,1),E50,DRAWNULL),COLORFF00FF;
IF(E60>REF(E60,1),E60,DRAWNULL),COLORFF00FF;
STICKLINE(C>O,C,O,1,0),COLORRED;
STICKLINE(C>O,H,L,0,0),COLORRED;
STICKLINE(C<=O,C,O,1,0),COLORFFFF52;
STICKLINE(C<=O,H,L,0,0),COLORFFFF52;
DRAWICON(EMA(C,8)>EMA(C,15) AND EMA(C,40)>REF(EMA(C,40),1) AND CROSS(EMA(C,3),EMA(C,35)),L-0.20,24);
DRAWICON(EMA(C,15)>EMA(C,40) AND EMA(C,35)>REF(EMA(C,35),1) AND CROSS(EMA(C,3),EMA(C,5)),L-0.20,25);
DRAWICON(ABS(EMA(C,15)-EMA(C,60))/C<0.01 AND EMA(C,15)>EMA(C,30) AND OEMA(C,3) AND OEMA(C,15) AND OEMA(C,30) AND OEMA(C,60),L-0.20,27); DRAWICON(ABS(EMA(C,45)-EMA(C,30))/C<0.011 AND EMA(C,3)>EMA(C,15) AND EMA(C,15)>EMA(C,40) AND CROSS(EMA(C,5),EMA(C,60)),L-0.20,13); A1:=OPENA2:=C>MAX(EMA(C,20),MAX(EMA(C,40),EMA(C,60))); A3:=V/MA(V,10)>1.2; A4:=C/REF(C,1)>1.049; 出水芙蓉:=A1 AND A2 AND A3 AND A4 AND OEMA(C,60); DRAWICON(出水芙蓉,L-0.20,9);
drawgbk(open>0,rgb(0,0,250),rgb(0,0,0),0,'02',0);
da:ema(close,3),colorgray;
db:ema(close,5),colorgray;
dc:ema(close,8),colorgray;
dd:ema(close,10),colorgray;
de:ema(close,12),colorgray;
df:ema(close,15),colorgray;
ca:ema(close,30) ,coloryellow;
cb:ema(close,35) ,coloryellow;
cc:ema(close,40) ,coloryellow;
cd:ema(close,45) ,coloryellow;
ce:ema(close,50) ,coloryellow;
cf:ema(close,60) ,coloryellow;
注:d开头的是短线组,c开头的是长线组

顾比均线指标代码超准


顾比均线指标代码超准



#include
#include

#define N 10

int main()
{
double price[N] = {0};
double sum = 0;
double avg = 0;
int i;
for(i = 0; i < N; i++)
{
scanf("%lf", &price[i]);
sum += price[i];
}
avg = sum / N;
printf("%.2lf

顾比均线指标公式


顾比均线指标公式

现在软件没有自带的“顾比”。

但是顾比均线所有软件都支持,自己可以在指标里自编。

治源码很简单:

{顾比均线}主图

MA1:EMA(CLOSE,3),COLORYEL点氢LOW;
MA2:EMA(CLOSE,5),COLORYELLOW;
M强河问受线越盐方乱委上A3:EMA(CLOSE,8),COLORYEL期七LOW;
MA4:EMA(CLOSE,10),CO针划思便直二十LORRED;
MA5:EMA(CLOSE,12),COLORRED;
MA6:EMA(CLOSE,15),COLORRED;
MA尽高二7:EMA(CLOSE,30),COLORGREEN;

短买: DRAWICON(CROSS(MA1,MA2),l-0.2,4),COLORRED;
短卖装欢袁吗红自食乎: DRAWICON(CROSS(MA2,MA1)酒是风为境二开,h+0.1,5),COLORGREEN;
红三角买关笔架入: DRAWICON( CROSS(MA4,MA7)诗设派续料明者,l-0.25,8),COLORRED;

MA8:EMA(CLOSE,35),COLORGREE剂果毛油鸡东月相士饭N;
MA9:EMA(CLOSE,40),COLORGREEN;
MA10:EMA(CLOSE,45),COLORBLUE;
MA11:EMA(CLOSE,50),COLORBLUE;
MA12:E歌无几机威搞局住MA(CLOSE,60),COLORBLUE;

猜你感兴趣: 顾比均线指标代码超准