코딩 도움말 - 페이지 473

 
zigflip:
모든 경고 옵션이 "거짓"으로 설정된 경우에도 계속 경고하므로 이 표시기를 수정하는 데 도움을 주세요.

내가 생각하는 mr Tools 버전은 ...

감사합니다,

뭔가를 말하려고 하는군요...안타깝게도...아무도 듣지 않습니다...

 
Pava:
뭔가를 말하려고 하는군요...안타깝게도...아무도 듣지 않습니다...

누구세요 ???

모두 듣고 있습니다.

그냥 시차 문제...

여기 nmc입니다. 더 이상 경고가 발생하지 않아야 합니다. 그렇지 않으면 Mladen에 경고를 표시합니다!!!

감사합니다.

톰캣98

 

위치 화살표를 대체하기 위해 무엇을 변경해야 합니까?

파일:
arow.jpg  180 kb
 
popej30:
위치 화살표를 대체하기 위해 무엇을 변경해야 합니까?

낮은 점의 가격을 낮음[nnn]에서 높음[nnn]으로 변경

그리고 상단 점의 가격을 높음[nnn]에서 낮음[nnn]으로 변경합니다.

 
Tomcat98:
누구세요 ???

모두 듣고 있습니다.

그냥 시차 문제...

여기 nmc입니다. 더 이상 경고가 발생하지 않아야 합니다. 그렇지 않으면 Mladen에 경고를 표시합니다!!!

감사합니다.

톰캣98

좋은 자료 감사합니다

 

이 표시기는 어떻습니까... 일부 ZUP 고조파 표시기와 동일한 코드를 사용할 수 있지만 어쨌든 ZUP 및 일부 다른 표시기와 함께 사용하면 가틀리에 사용되는 삼각형이나 선을 제거하는 것과 같은 일부 광선 및 기타 항목을 제거합니다. 등 모양.

고칠 수 있는지 궁금하십니까? 레이어링을 허용해야 하는 "완료" 기능 이 작동하지 않는 것 같지만 추측입니다. 수정하기에 너무 길더라도 걱정하지 마십시오. (저는 원래 버전에 약간의 외형적 수정을 가했지만 동일한 문제가 있습니다.)

감사합니다,

파일:
 
zigflip:
이 표시기는 어떻습니까... 일부 ZUP 고조파 표시기와 동일한 코드를 사용할 수 있지만 어쨌든 ZUP 및 일부 다른 표시기와 함께 사용하면 가틀리에 사용되는 삼각형이나 선을 제거하는 것과 같은 일부 광선 및 기타 항목을 제거합니다. 등 모양.

고칠 수 있는지 궁금하십니까? 레이어링을 허용해야 하는 "완료" 기능이 작동하지 않는 것 같지만 추측입니다. 수정하기에 너무 길더라도 걱정하지 마십시오. (저는 원래 버전에 약간의 외형적 수정을 가했지만 동일한 문제가 있습니다.)

감사합니다,

문제를 일으킬 수 있는 오류가 하나 있었습니다. 지금 확인하세요 : gann_sq9_mxi_nmc.mq4

파일:
 
mladen:
낮은 점의 가격을 낮음[nnn]에서 높음[nnn]으로 변경하고 위쪽 점의 가격을 높음[nnn]에서 낮음[nnn]으로 변경

어딘지 보여줘......

#property indicator_buffers 4

#property indicator_chart_window

#property indicator_color1 Turquoise

#property indicator_color2 Red

#property indicator_color3 Turquoise

#property indicator_color4 Red

double ExtMapBuffer1[];

double ExtMapBuffer2[];

double ExtMapBuffer3[];

double ExtMapBuffer4[];

//================================================================

// =============== HIDDEN CODE

// =============== HIDDEN CODE

// =============== HIDDEN CODE

// =============== HIDDEN CODE

// =============== HIDDEN CODE

// =============== HIDDEN CODE

//================================================================

int init()

{

IndicatorBuffers(4);

SetIndexStyle(0,DRAW_ARROW,STYLE_SOLID,2);

SetIndexStyle(1,DRAW_ARROW,STYLE_SOLID,2);

SetIndexArrow(0, 233);

SetIndexArrow(1, 234);

SetIndexBuffer(0,ExtMapBuffer1);

SetIndexBuffer(1,ExtMapBuffer2);

SetIndexStyle(2,DRAW_LINE);

SetIndexBuffer(2,ExtMapBuffer3);

SetIndexStyle(3,DRAW_LINE);

SetIndexBuffer(3,ExtMapBuffer4);

return(0);

}

void DrawVertical( int bar , double value, color clr)

{

static int cnt = 0;

cnt++;

string dv = "Signal" + cnt;

ObjectCreate(dv, OBJ_VLINE, 0, Time, 0);

ObjectSet(dv, OBJPROP_COLOR, clr);

ObjectsRedraw();

}

void DrawThumb( int bar , int thumb , double value, color clr)

{

static int cnt = 0;

cnt++;

string dv = "thumb" + cnt;

ObjectCreate(dv, OBJ_ARROW, 0, Time, value);

if(thumb == 1)

{

ObjectSet(dv, OBJPROP_ARROWCODE, 67);

}

if(thumb == 2)

{

ObjectSet(dv, OBJPROP_ARROWCODE, 68);

}

ObjectSet(dv, OBJPROP_COLOR, clr);

ObjectSet(dv, OBJPROP_STYLE , STYLE_SOLID);

ObjectSet(dv, OBJPROP_WIDTH , 3);

ObjectsRedraw();

}

int deinit()

{

int I = WindowsTotal();

for (int count = 0; count < WindowsTotal(); count++)

{

int nObjects = ObjectsTotal();

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

{

string objName = ObjectName(i);

if(StringFind(objName, "Signal", 0) >= 0)

ObjectDelete(objName);

if(StringFind(objName, "signal", 0) >= 0)

ObjectDelete(objName);

}

}

return(0);

}

int start()

{

int counted_bars=IndicatorCounted();

//----

int pos = Bars - counted_bars;//-1

static int right = 0 ;

static int wrong = 0 ;

while (pos>=0)

{

Signal1=0;

Signal2=0;

Previous_Bar=0;

//================================================================

// =============== HIDDEN CODE

// =============== HIDDEN CODE

// =============== HIDDEN CODE

// =============== HIDDEN CODE

// =============== HIDDEN CODE

// =============== HIDDEN CODE

//================================================================

if (Open[pos+1] > Close[pos+1]) Previous_Bar = 1;

if (Open[pos+1] < Close[pos+1]) Previous_Bar = 2;

int confirm = 0;

if(confirm == 1)

{

if (EmaShortPrevious>EmaLongPrevious && EmaShortCurrent<EmaLongCurrent && Previous_Bar == 1) Signal1=High[pos-1];

if (EmaShortPreviousEmaLongCurrent && Previous_Bar == 2) Signal2=Low[pos-1];

}

else

{

if (EmaShortPrevious>EmaLongPrevious && EmaShortCurrent<EmaLongCurrent ) Signal1=High[pos-1];

if (EmaShortPreviousEmaLongCurrent ) Signal2=Low[pos-1];

}

ExtMapBuffer1[pos-1]= Signal1+5*Point;

ExtMapBuffer2[pos-1]= Signal2-5*Point;

if(Vertical_Lines)

{

if(Signal1>0) DrawVertical(pos,0,Blue);

if(Signal2>0) DrawVertical(pos,0,Red);

}

if (Show_Thumbs)

{

if(Signal1>0 && Open[pos-1] > Close[pos-1])

{

DrawThumb(pos-1,1,Signal1+20*Point,Gold);

right=right+1;

}

if(Signal1>0 && Open[pos-1] < Close[pos-1])

{

DrawThumb(pos-1,2,Signal1+20*Point,Green);

wrong=wrong+1;

}

if(Signal2>0 && Open[pos-1] < Close[pos-1])

{

DrawThumb(pos-1,1,Signal2-10*Point,Gold);

right=right+1;

}

if(Signal2>0 && Open[pos-1] > Close[pos-1])

{

DrawThumb(pos-1,2,Signal2-10*Point,Green);

wrong=wrong+1;

}

}

if(Draw_Lines)

{

ExtMapBuffer3[pos]= EmaLongCurrent;

ExtMapBuffer4[pos]= EmaShortCurrent;

}

pos--;

}

return(0);

}

 
popej30:
어딘지 보여줘......

#property indicator_buffers 4

#property indicator_chart_window

#property indicator_color1 Turquoise

#property indicator_color2 Red

#property indicator_color3 Turquoise

#property indicator_color4 Red

double ExtMapBuffer1[];

double ExtMapBuffer2[];

double ExtMapBuffer3[];

double ExtMapBuffer4[];

//================================================================

// =============== HIDDEN CODE

// =============== HIDDEN CODE

// =============== HIDDEN CODE

// =============== HIDDEN CODE

// =============== HIDDEN CODE

// =============== HIDDEN CODE

//================================================================

int init()

{

IndicatorBuffers(4);

SetIndexStyle(0,DRAW_ARROW,STYLE_SOLID,2);

SetIndexStyle(1,DRAW_ARROW,STYLE_SOLID,2);

SetIndexArrow(0, 233);

SetIndexArrow(1, 234);

SetIndexBuffer(0,ExtMapBuffer1);

SetIndexBuffer(1,ExtMapBuffer2);

SetIndexStyle(2,DRAW_LINE);

SetIndexBuffer(2,ExtMapBuffer3);

SetIndexStyle(3,DRAW_LINE);

SetIndexBuffer(3,ExtMapBuffer4);

return(0);

}

void DrawVertical( int bar , double value, color clr)

{

static int cnt = 0;

cnt++;

string dv = "Signal" + cnt;

ObjectCreate(dv, OBJ_VLINE, 0, Time, 0);

ObjectSet(dv, OBJPROP_COLOR, clr);

ObjectsRedraw();

}

void DrawThumb( int bar , int thumb , double value, color clr)

{

static int cnt = 0;

cnt++;

string dv = "thumb" + cnt;

ObjectCreate(dv, OBJ_ARROW, 0, Time, value);

if(thumb == 1)

{

ObjectSet(dv, OBJPROP_ARROWCODE, 67);

}

if(thumb == 2)

{

ObjectSet(dv, OBJPROP_ARROWCODE, 68);

}

ObjectSet(dv, OBJPROP_COLOR, clr);

ObjectSet(dv, OBJPROP_STYLE , STYLE_SOLID);

ObjectSet(dv, OBJPROP_WIDTH , 3);

ObjectsRedraw();

}

int deinit()

{

int I = WindowsTotal();

for (int count = 0; count < WindowsTotal(); count++)

{

int nObjects = ObjectsTotal();

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

{

string objName = ObjectName(i);

if(StringFind(objName, "Signal", 0) >= 0)

ObjectDelete(objName);

if(StringFind(objName, "signal", 0) >= 0)

ObjectDelete(objName);

}

}

return(0);

}

int start()

{

int counted_bars=IndicatorCounted();

//----

int pos = Bars - counted_bars;//-1

static int right = 0 ;

static int wrong = 0 ;

while (pos>=0)

{

Signal1=0;

Signal2=0;

Previous_Bar=0;

//================================================================

// =============== HIDDEN CODE

// =============== HIDDEN CODE

// =============== HIDDEN CODE

// =============== HIDDEN CODE

// =============== HIDDEN CODE

// =============== HIDDEN CODE

//================================================================

if (Open[pos+1] > Close[pos+1]) Previous_Bar = 1;

if (Open[pos+1] < Close[pos+1]) Previous_Bar = 2;

int confirm = 0;

if(confirm == 1)

{

if (EmaShortPrevious>EmaLongPrevious && EmaShortCurrent<EmaLongCurrent && Previous_Bar == 1) Signal1=High[pos-1];

if (EmaShortPreviousEmaLongCurrent && Previous_Bar == 2) Signal2=Low[pos-1];

}

else

{

if (EmaShortPrevious>EmaLongPrevious && EmaShortCurrent<EmaLongCurrent ) Signal1=High[pos-1];

if (EmaShortPreviousEmaLongCurrent ) Signal2=Low[pos-1];

}

ExtMapBuffer1[pos-1]= Signal1+5*Point;

ExtMapBuffer2[pos-1]= Signal2-5*Point;

if(Vertical_Lines)

{

if(Signal1>0) DrawVertical(pos,0,Blue);

if(Signal2>0) DrawVertical(pos,0,Red);

}

if (Show_Thumbs)

{

if(Signal1>0 && Open[pos-1] > Close[pos-1])

{

DrawThumb(pos-1,1,Signal1+20*Point,Gold);

right=right+1;

}

if(Signal1>0 && Open[pos-1] < Close[pos-1])

{

DrawThumb(pos-1,2,Signal1+20*Point,Green);

wrong=wrong+1;

}

if(Signal2>0 && Open[pos-1] < Close[pos-1])

{

DrawThumb(pos-1,1,Signal2-10*Point,Gold);

right=right+1;

}

if(Signal2>0 && Open[pos-1] > Close[pos-1])

{

DrawThumb(pos-1,2,Signal2-10*Point,Green);

wrong=wrong+1;

}

}

if(Draw_Lines)

{

ExtMapBuffer3[pos]= EmaLongCurrent;

ExtMapBuffer4[pos]= EmaShortCurrent;

}

pos--;

}

return(0);

}

Signal1 및 Signal2 변수에 할당된 값을 확인하십시오 (라인 130, 131, 135 및 136에서 높음 및 낮음). 그것을 반전

____________

Btw: 해당 지표는 미래 가치에 가치를 할당합니다.

 
mladen:
Signal1 및 Signal2 변수에 할당된 값을 확인하십시오(라인 130, 131, 135 및 136에서 높음 및 낮음). 그것을 반전

____________

Btw: 해당 지표는 미래 가치에 가치를 할당합니다.

변경 ... 감사합니다