코딩 도움말 - 페이지 90

 

안녕 믈라덴

신호 라인 SMA 15가 있는 가격 발진기 15-71 SMA를 표시하는 표시기가 있습니다.

문제: 이 표시기를 놓으면 신호선의 일부만 나타납니다....후 시간이 지나면 더 길게 나타납니다.

mt4를 닫고 다시 열면 신호 라인은 여전히 작은 부분입니다.

나는 또한 레벨 0을 선택합니다...즉, 15-71을 넘을 때...하지만 이미지에서 볼 수 있듯이...레벨 0은 잘못되었습니다.

내 차트에서 SMA 15는 주황색이고 SMA 71은 흰색입니다.

이미지를 참조하십시오.

미리 감사합니다

파일:
immagine.gif  23 kb
ppo.ex4  3 kb
ppo.mq4  3 kb
 
carbonmimetic:
안녕 믈라덴

신호 라인 SMA 15가 있는 가격 발진기 15-71 SMA를 표시하는 표시기가 있습니다.

문제: 이 표시기를 놓으면 신호선의 일부만 나타납니다....후 시간이 지나면 더 길게 나타납니다.

mt4를 닫고 다시 열면 신호 라인은 여전히 작은 부분입니다.

나는 또한 레벨 0을 선택합니다...즉, 15-71을 넘을 때...하지만 이미지에서 볼 수 있듯이...레벨 0은 잘못되었습니다.

내 차트에서 SMA 15는 주황색이고 SMA 71은 흰색입니다.

이미지를 참조하십시오.

미리 감사합니다

탄소모방체

여기 당신이 간다

파일:
ppo.gif  35 kb
ppo_1.mq4  3 kb
 

이 포럼을 알게 된 이후로 몇 번이나 감사 인사를 전합니까?

내 지표가 코딩하기 매우 간단할 수 있습니다. 하지만 저에게는 메타 언어에 대해 아는 것이 아무것도 없습니다... 불가능합니다.....그래서....대박 감사합니다.

그래서 마지막으로 나에게 가장 중요한 것은 Demark의 Sequential입니다......3개의 지표가 있지만 모두 불완전합니다.

내 설명에 코드를 작성하는 것은 어떻습니까?

하시길 바랍니다....

 
carbonmimetic:
이 포럼을 알게 된 이후로 몇 번이나 감사 인사를 전합니까?

내 지표가 코딩하기 매우 간단할 수 있습니다. 하지만 저에게는 메타 언어에 대해 아는 것이 아무것도 없습니다... 불가능합니다.....그래서....대박 감사합니다.

그래서 마지막으로 나에게 가장 중요한 것은 Demark의 Sequential입니다......3개의 지표가 있지만 모두 불완전합니다.

내 설명에 코드를 작성하는 것은 어떻습니까?

하시길 바랍니다....

metatrader 4의 기존 버전(예: https://www.mql5.com/en/forum/181798 )을 확인했습니까? 하지만 더 많은 것이 있습니다(맨 위에서 검색 도구를 사용할 수 있습니다). 페이지 - Google 검색이며 매우 강력합니다. 예를 들어 TD 순차 검색을 시도하십시오)

 

안녕하세요 여러분,

아마도 어리석은 질문일 것입니다. 옵션 가격이 0-5인 지표가 있습니다. 따라서 0은 닫기를 나타냅니다. 1 오픈? 누군가 도와줄 수 있습니까? 감사해요

 
Jonas_Hellwig:
안녕하세요, 아마도 어리석은 질문입니다. 옵션 가격이 0-5인 지표가 있습니다. 따라서 0은 닫기를 나타냅니다. 1 오픈? 누군가 도와줄 수 있습니까? 감사해요

조나스

가격은 다음과 같이 열거됩니다.
0 - 닫기

1 - 열기

2 - 높음

3 - 낮음

4 - 중앙값(높음+낮음)/2

5 - 일반(고가+저가+종가)/3

6 - 가중치(고가+저가+종가+종가)/4

 
mladen:
죄송합니다. TimeFrameExpand() 및 TimeFrameRestore()가 무엇을 하는지 모르겠습니다.

안녕 mladen

출처는 아래와 같습니다!

MT4에 참여해 주실 수 있나요? 대단히 감사합니다.

_SECTION_BEGIN("피트");

TimeFrameSet(inDaily);

TR=Max(Max((High-Low),abs(Ref(Close,-1)-High)),abs(Ref(Close,-1)-Low));

A= H-(TR*0.3);

A1=H-(TR*0.6);

A2=H-(TR*0.8);

A3=H-(TR*1.0);

//

B= L+(TR*0.3);

B1=L+(TR*0.6);

B2=L+(TR*0.8);

B3=L+(TR*1.0);

//

N=100;

H2=HHV(H,N);

L2=LLV(L,N);

PPF=Ref(A,BarsLast(H2));//

PPF1=Ref(A1,BarsLast(H2));//

PPF2=Ref(A2,BarsLast(H2));

PPF3=Ref(A3,BarsLast(H2));//

//

PPFF=Ref(B,BarsLast(L2));//

PPFF1=참조(B1,막대 막대(L2));//

PPFF2=참조(B2, 마지막 막대(L2));//

PPFF3=참조(B3, 마지막 막대(L2));//

TimeFrameRestore();

// 지원 수준 구름과 선을 플로팅합니다. //

플롯(TimeFrameExpand(PPF,inDaily,expandLast), "R1", colorGreen, styleThick);

플롯(TimeFrameExpand(PPF1,inDaily,expandLast), "R2", colorGreen,styleThick);

Plot(TimeFrameExpand(PPF2,inDaily,expandLast), "R3", colorGreen,styleThick);

플롯(TimeFrameExpand(PPF3,inDaily,expandLast), "R4", colorGreen,styleThick);

Plot(TimeFrameExpand(PPFF,inDaily,expandLast), "S1", colorBlue, styleThick);

플롯(TimeFrameExpand(PPFF1,inDaily,expandLast), "S2", colorBlue,styleThick);

Plot(TimeFrameExpand(PPFF2,inDaily,expandLast), "S3", colorBlue,styleThick);

플롯(TimeFrameExpand(PPFF3,inDaily,expandLast), "S4", colorBlue,styleThick);

_SECTION_END();

고맙습니다

크랭가스트

2013-5-24

 
mladen:
metatrader 4의 기존 버전(예: https://www.mql5.com/en/forum/181798 )을 확인했습니까? 하지만 더 많은 것이 있습니다(맨 위에서 검색 도구를 사용할 수 있습니다). 페이지 - Google 검색이며 매우 강력합니다. 예를 들어 TD 순차 검색을 시도하십시오)

Demark의 모든 순서는 불완전합니다.....원하는 경우(또는 관심 있는 다른 사람.....) 위의 링크에서 코딩을 시작할 수 있습니다...... 보시다시피 몇 달 전에 요청했습니다. .....

나는 그것을 코딩하기 위해 모든 설명을 쓸 수 있고 다중 시간 프레임에서 강력한 사용을 할 수 있습니다...제발 ..준비가 되었다면 저에게 말해주세요!

예를 바랍니다!!!!

내 코더에게 안부!

ps. 위의 링크가 제가 작성한 것을 못 보셨을 수도 있습니다.( https://www.mql5.com/en/forum/181798 )

 

안녕,

내 터미널에 있을 수 있는 내 거래 시간 동안 상자를 그리는 데 사용하는 이 표시기가 있습니다. 원래는 브레이크 아웃 지표 였지만 거래 시간을 표시하는 데 사용합니다.

현재 외부 색상 BoxHLColor = MidnightBlue; 검정색 배경에서 선택합니다.

표시기가 전날 촛불 색상을 기준으로 이 색상을 자동으로 선택할 수 있습니까?

(또는 2일, 3일 등을 뒤돌아보기) 양초 색상.

따라서 이전 일일 양초가 녹색이면 상자를 녹색으로 만들고 이전 날이 빨간색으로 끝나면 BoxHLColor를 빨간색으로 만드는 등의 작업을 수행합니다.

이것이 의미가 있기를 바랍니다. 이것은 매우 도움이 될 것이며 이 작업에 도움을 주시면 감사하겠습니다.

PG

파일:
 

mladen.. 오류를 수정할 수 있습니까?

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

//| MTF_RSI.mq4 |

//| Copyright © 2006, Keris2112 |

//| |

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

#property copyright "Copyright © 2006, Keris2112"

#property link "https://www.forex-tsd.com"

//----

#property indicator_separate_window

#property indicator_buffers 3

#property indicator_color1 Red

#property indicator_color2 DodgerBlue

#property indicator_color3 White

#property indicator_level1 30

#property indicator_level2 70

#property indicator_minimum 0

#property indicator_maximum 100

//----

extern int TimeFrame=5;

extern int RSIperiod=33;

extern int applied_price=0;

extern int TimeFrame1=15;

extern int RSIperiod1=21;

extern int applied_price1=0;

extern int TimeFrame2=15;

extern int RSIperiod2=14;

extern int applied_price2=0;

//----

double ExtMapBuffer1[];

double ExtMapBuffer2[];

double ExtMapBuffer3[];

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

//| Custom indicator initialization function |

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

int init()

{

//---- indicator line

SetIndexBuffer(0,ExtMapBuffer1);

SetIndexStyle(0,DRAW_LINE);

SetIndexBuffer(1,ExtMapBuffer2);

SetIndexStyle(1,DRAW_LINE);

SetIndexBuffer(2,ExtMapBuffer3);

SetIndexStyle(2,DRAW_LINE);

//---- name for DataWindow and indicator subwindow label

switch(TimeFrame)

{

case 1 : string TimeFrameStr="Period_M1"; break;

case 5 : TimeFrameStr="Period_M5"; break;

case 15 : TimeFrameStr="Period_M15"; break;

case 30 : TimeFrameStr="Period_M30"; break;

case 60 : TimeFrameStr="Period_H1"; break;

case 240 : TimeFrameStr="Period_H4"; break;

case 1440 : TimeFrameStr="Period_D1"; break;

case 10080 : TimeFrameStr="Period_W1"; break;

case 43200 : TimeFrameStr="Period_MN1"; break;

default : TimeFrameStr="Current Timeframe";

}

IndicatorShortName("MTF_RSI("+RSIperiod+") ("+TimeFrameStr+")");

}

//----

return(0);

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

//| MTF RSI |

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

int start()

{

datetime TimeArray[];

int i,limit,y=0,counted_bars=IndicatorCounted();

// Plot defined time frame on to current time frame

ArrayCopySeries(TimeArray,MODE_TIME,Symbol(),TimeFrame);

limit=Bars-counted_bars;

for(i=0,y=0;i<limit;i++)

{

if (Time<TimeArray[y]) y++;

//----

ExtMapBuffer1=iRSI(NULL,TimeFrame,RSIperiod,applied_price,y);

}

datetime TimeArray1[];

int ii,limiti,yi=0,counted_bars1=IndicatorCounted();

// Plot defined time frame on to current time frame

ArrayCopySeries(TimeArray1,MODE_TIME,Symbol(),TimeFrame1);

limiti=Bars-counted_bars1;

for(ii=0,yi=0;ii<limiti;ii++)

{

if (Time<TimeArray1[yi]) yi++;

//----

ExtMapBuffer2=iRSI(NULL,TimeFrame1,RSIperiod1,applied_price1,yi);

}

datetime TimeArray2[];

int iii,limitii,yii=0,counted_bars2=IndicatorCounted();

// Plot defined time frame on to current time frame

ArrayCopySeries(TimeArray2,MODE_TIME,Symbol(),TimeFrame2);

limitii=Bars-counted_bars2;

for(iii=0,yii=0;iii<limitii;iii++)

{

if (Time<TimeArray2[yii]) yii++;

//----

ExtMapBuffer3=iRSI(NULL,TimeFrame2,RSIperiod2,applied_price2,yii);

}

//----

return(0);

}

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

사유: