다중 기간 표시기 - 페이지 1023

 
 

이 색인을 MTF 버전으로 수정할 수 있습니까? 감사합니다

파일:
 
cnsail:
이 색인을 MTF 버전으로 수정할 수 있습니까? 감사합니다

씨네일

쉬운 추세는 이름이 변경된 Hull 이동 평균입니다. 이미 다중 시간 프레임인 선체 이동 평균을 사용하기만 하면 됩니다(예: https://www.mql5.com/en/forum/174961/page23 ).

 

Indi MA Hull: t_ma.mq4에서 누구든지 변경할 수 있습니까?

내 영어 미안

스톤홈

 

여기 코드:

//+----------------------------------------------- -------------------+

//| t_ma.mq4 |

//| |

//| |

//+----------------------------------------------- -------------------+

#재산권 ""

#속성 링크 ""

#속성 표시기_차트_창

#속성 표시기_버퍼 7

#property indicator_color1 미디엄블루

#property indicator_color2 파란색

#property indicator_color3 다저블루

#property indicator_color4 딥스카이블루

#property indicator_color5 스카이블루

#property indicator_color6 아쿠아

#property indicator_color7 아쿠아마린

#속성 표시기_너비1 1

#속성 표시기_너비2 1

#속성 표시기_너비3 1

#속성 표시기_너비4 1

#속성 표시기_너비5 1

#속성 표시기_너비6 1

#property indicator_width7 1//---- 버퍼

이중 ExtMapBuffer1[];

이중 ExtMapBuffer2[];이중 ExtMapBuffer3[];

이중 ExtMapBuffer4[];이중 ExtMapBuffer5[];

이중 ExtMapBuffer6[];이중 ExtMapBuffer7[];

extern int MA_Period=100;

외부 int ad1 = 2;

외부 int ad2 = 4;

외부 int ad3 = 6;

외부 int ad4 = 8;

외부 int ad5 = 10;

//+----------------------------------------------- -------------------+

//| 커스텀 인디케이터 초기화 기능 |

//+----------------------------------------------- -------------------+

정수 초기화()

{

//---- 표시기

SetIndexStyle(0,DRAW_LINE);

SetIndexBuffer(0,ExtMapBuffer1);

SetIndexStyle(1,DRAW_LINE);

SetIndexBuffer(1,ExtMapBuffer2);

SetIndexStyle(2,DRAW_LINE);

SetIndexBuffer(2,ExtMapBuffer3);

SetIndexStyle(3,DRAW_LINE);

SetIndexBuffer(3,ExtMapBuffer4);

SetIndexStyle(4,DRAW_LINE);

SetIndexBuffer(4,ExtMapBuffer5);

SetIndexStyle(5,DRAW_LINE);

SetIndexBuffer(5,ExtMapBuffer6);

SetIndexStyle(6,DRAW_LINE);

SetIndexBuffer(6,ExtMapBuffer7);

//----

리턴(0);

}

//+----------------------------------------------- -------------------+

//| 커스텀 인디케이터 초기화 해제 기능 |

//+----------------------------------------------- -------------------+

정수 초기화()

{

//----

//----

리턴(0);

}

//+----------------------------------------------- -------------------+

//| 사용자 지정 표시기 반복 기능 |

//+----------------------------------------------- -------------------+

정수 시작()

{

int counted_bars=IndicatorCounted();

if(counted_bars<0) return(-1);

if(counted_bars>0) counted_bars--;

int limit = MathMin(바-카운트된_바,바-1);

if (ad1<0) limit=MathMax(limit,-ad1);

if (ad2<0) limit=MathMax(limit,-ad2);

if (ad3<0) limit=MathMax(limit,-ad3);

if (ad4<0) limit=MathMax(limit,-ad4);

if (ad5<0) limit=MathMax(limit,-ad5);

for(int i=limit;i>=0;i--)

{

ExtMapBuffer1=iMA(NULL,0,MA_Period,0,MODE_LWMA,PRICE_OPEN,i);

ExtMapBuffer2=(ExtMapBuffer1+ExtMapBuffer1+ExtMapBuffer1+ExtMapBuffer1+ExtMapBuffer1+ExtMapBuffer1)/6.0;

}

for( i=limit;i>=0;i--)

{

ExtMapBuffer3= ExtMapBuffer2; if (ExtMapBuffer3==0) ExtMapBuffer3=EMPTY_VALUE;

ExtMapBuffer4= ExtMapBuffer2; if (ExtMapBuffer4==0) ExtMapBuffer4=EMPTY_VALUE;

ExtMapBuffer5= ExtMapBuffer2; if (ExtMapBuffer5==0) ExtMapBuffer5=EMPTY_VALUE;

ExtMapBuffer6= ExtMapBuffer2; if (ExtMapBuffer6==0) ExtMapBuffer6=EMPTY_VALUE;

ExtMapBuffer7= ExtMapBuffer2; if (ExtMapBuffer7==0) ExtMapBuffer7=EMPTY_VALUE;

}

//----

리턴(0);

}

//+----------------------------------------------- -------------------+

 
stonehome:
Indi MA Hull: t_ma.mq4에서 누구든지 변경할 수 있습니까?

내 영어 미안

스톤홈

안녕하세요 스톤홈입니다.

이 인디로 정확히 원하는 것.

t-ma.mq4

파일:
t-ma.mq4  4 kb
eurusdm1.png  45 kb
 

안녕 Mladen ... 이 표시기를 확인하십시오 .. MTF 기능이 작동하지 않습니다 ... 감사합니다

rk-kcv8-wmtf-txt-zo-trend_arrows.mq4

추신. 제 글이 삭제된 것 같아요.

 

안녕 mntiwana

다른 석사를 원합니다. LWMA가 아니라 MA 헐(HMA)

그것이 간다면 정말 훌륭했습니다.

스톤홈

 
stonehome:
안녕 mntiwana,

다른 석사를 원합니다. LWMA가 아니라 MA 헐(HMA)

그것이 간다면 정말 훌륭했습니다.

스톤홈

안녕하세요 스톤홈입니다

대안 솔루션은 선체 리본으로, 많은 조정을 할 수 있지만 표시기의 조정만 필요한 경우 보스가 더 잘 안내할 수 있습니다. 감사합니다.

선체 리본 변형 mtf nmc.mq4

 

아냐 아냐 그건 해결책이 아니야

HMA 버전에서 t_ma하고 싶습니다.

제발 도와주세요

스톤홈 감사합니다