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

 

안녕하세요, Mr tools and mladen

기동특무부대에 이 사실을 알리고 제로 크로싱을 경고해 주시겠습니까?

감사합니다

파일:
i-g-cci2.mq4  4 kb
 
Jozy:
Mr Mladen 또는 Mrtools, 이 지표에 대한 경고를 받을 수 있습니까? 제로 크로스 및 색상 변경?

감사해요

죠지

안녕하세요 Jozy, 표시기를 게시하는 것을 잊은 것 같습니다.

 
mladen:
TSD에 도착하면 이미 최신 스레드(최신 게시물이 있는 스레드)를 자동으로 표시하고 있지 않습니까?

죄송합니다. 제 자신을 명확하게 표현하지 못한 것 같아요. 이 "다중 시간 프레임 표시기"와 같이 관심이 있는 스레드의 북마크를 저장했기 때문에 forex-tsd.com 페이지로 이동하지 않고 이 북마크의 URL을 조정하는 방법을 아는 사람이 있는지 묻고 싶었습니다. 그래서 그것을 클릭하면 책갈피를 저장했을 때의 페이지 대신 이 스레드의 마지막 페이지가 자동으로 열립니다.

오히려 우연히 그렇게 한 번 작동했지만 새 컴퓨터를 얻었고 지금은 기억이 나지 않습니다. 나는 누군가가 해결책을 알고 있을지도 모른다고 생각했습니다. 그렇지 않은 경우 이 스레드를 더 이상 방해하고 싶지 않으므로 문제가 없습니다. 내 질문을 어디에 게시해야 할지 몰랐습니다.

 

존경하는 선배 회원님들

이 볼린저 밴드 표시기를 2 및 3 편차로 조정할 수 있습니까? 그것은 현재 1 편차로 설정되어 있으며 설정을 변경하려고 시도했지만 화살표 경고 표시를 중지합니다.

고맙습니다

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

//| Bands.mq4 |

//| |

//| |

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

#속성 표시기_차트_창

#속성 표시기_버퍼 5

#property indicator_color1 LightSeaGreen

#property indicator_color2 LightSeaGreen

#property indicator_color3 LightSeaGreen

#property indicator_color4 라임그린

#property indicator_color5 주황색

//

//

//

//

//

extern string TimeFrame = "현재 시간 프레임";

extern int BandsLength = 4;

외부 이중 대역편차 = 1.0;

extern int AppliedPrice = 0;

extern int BandsMaMode = 0;

extern string note = "경보 켜기 = true, 끄기 = false";

extern bool alertsOn = true;

extern 부울 alertsOnCurrent = true;

extern bool alertsMessage = true;

extern bool alertsSound = true;

extern bool alertsNotify = 거짓;

extern bool alertsEmail = 거짓;

외부 문자열 soundFile = "alert2.wav";

extern int 화살 두께 = 1;

//

//

//

//

//

더블 마[];

더블 UpMa[];

이중 DnMa[];

더블 크로스업[];

이중 CrossDn[];

이중 추세[];

//

//

//

//

//

문자열 표시기 파일 이름;

부울 계산값;

부울 returnBars;

int timeFrame;

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

//| |

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

//

//

//

//

//

정수 초기화()

{

표시 버퍼(6);

IndicatorDigits(숫자);

SetIndexBuffer(0,Ma);

SetIndexBuffer(1,UpMa);

SetIndexBuffer(2,DnMa);

SetIndexBuffer(3,크로스업); SetIndexStyle(3,DRAW_ARROW,0,화살표 두께); SetIndexArrow(3,233);

SetIndexBuffer(4,CrossDn); SetIndexStyle(4,DRAW_ARROW,0,화살표 두께); SetIndexArrow(4,234);

SetIndexBuffer(5, 경향);

//

//

//

//

//

IndicatorFileName = WindowExpertName();

returnBars = TimeFrame=="반환막대"; if (returnBars) return(0);

계산값 = TimeFrame=="계산값"; if(값 계산) return(0);

timeFrame = stringToTimeFrame(TimeFrame);

IndicatorShortName(timeFrameToString(timeFrame)+" 볼린저 밴드 경고 화살표");

리턴(0);

}

//

//

//

//

//

int deinit() { 반환(0); }

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

//| |

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

//

//

//

//

//

정수 시작()

{

int counted_bars=IndicatorCounted();

int i, 제한;

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

if(counted_bars>0) counted_bars--;

limit=MathMin(막대-1,막대-카운트_막대-1);

if (returnBars) { Ma[0] = 제한+1; 리턴(0); }

//

//

//

//

//

if (calculateValue || timeFrame==Period())

{

(i = 한계, i >= 0, i--)

{

이중 StdDev = iStdDev(NULL,0,BandsLength,0,BandsMaMode,AppliedPrice,i);

Ma = iMA(NULL,0,BandsLength,0,BandsMaMode,AppliedPrice,i);

UpMa = Ma + (StdDev*BandsDeviation);

DnMa = Ma - (StdDev*BandsDeviation);

추세 = 0;

if (Close>UpMa) 경향 = 1;

if (Close<DnMa) 경향 =-1;

//

//

//

//

//

크로스업 = EMPTY_VALUE;

CrossDn = EMPTY_VALUE;

if (추세!= 추세)

if (trend == 1 && trend != 3) CrossDn = High + iATR(NULL,0,20,i)/2;

if (trend == -1 && trend !=-3) CrossUp = Low - iATR(NULL,0,20,i)/2;

}

관리 경고();

리턴(0);

}

//

//

//

//

//

limit = MathMax(limit,MathMin(Bars-1,iCustom(NULL,timeFrame,indicatorFileName,"returnBars",0,0)*timeFrame/Period()));

for(i=한계, i>=0, i--)

{

정수 y = iBarShift(NULL, 시간 프레임, 시간);

Ma = iCustom(NULL,timeFrame,indicatorFileName,"calculateValue",BandsLength,BandsDeviation,AppliedPrice,BandsMaMode,0,y);

UpMa = iCustom(NULL,timeFrame,indicatorFileName,"calculateValue",BandsLength,BandsDeviation,AppliedPrice,BandsMaMode,1,y);

DnMa = iCustom(NULL,timeFrame,indicatorFileName,"calculateValue",BandsLength,BandsDeviation,AppliedPrice,BandsMaMode,2,y);

추세 = iCustom(NULL, 시간 프레임, 표시기 파일 이름, "calculateValue", BandsLength, BandsDeviation, AppliedPrice, BandsMaMode, 5, y);

크로스업 = EMPTY_VALUE;

CrossDn = EMPTY_VALUE;

if (추세!= 추세)

if (trend == 1 && trend != 1) CrossDn = High + iATR(NULL,0,20,i)/2;

if (trend == -1 && trend !=-1) CrossUp = Low - iATR(NULL,0,20,i)/2;

}

관리 경고();

리턴(0);

}

//

//

//

//

//

무효 관리 경고()

{

if (!calculateValue && alertsOn)

{

if (alertsOnCurrent)

int whichBar = 0;

그렇지 않으면 whichBar = 1; whichBar = iBarShift(NULL,0,iTime(NULL,timeFrame, whichBar));

if (추세[ whichBar] != 추세[ whichBar+1])

{

if (trend[whichBar+1] == 1 && trend[whichBar] != 1) doAlert( whichBar,"sell");

if (trend[whichBar+1] == -1 && trend[whichBar] !=-1) doAlert(whichBar,"구매");

}

}

}

//

//

//

//

//

무효 doAlert(int forBar, 문자열 doWhat)

{

정적 문자열 previousAlert="아무것도";

정적 날짜 시간 이전 시간;

문자열 메시지;

if (previousAlert != doWhat || previousTime != 시간[forBar]) {

이전 경고 = 할 일;

이전 시간 = 시간[forBar];

//

//

//

//

//

메시지 = StringConcatenate(Symbol()," at ",TimeToStr(TimeLocal(),TIME_SECONDS)," - ",timeFrameToString(Period())+" 볼린저 밴드 ",doWhat);

if (alertsMessage) 경고(메시지);

if(alertsNotify) SendNotification (메시지);

if (alertsEmail) SendMail(StringConcatenate(Symbol()," 볼린저 밴드 "), 메시지);

if (alertsSound) PlaySound(soundFile);

}

}

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

//|

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

//

//

//

//

//

문자열 sTfTable[] = {"M1","M5","M15","M30","H1","H4","D1","W1","MN"};

int iTfTable[] = {1,5,15,30,60,240,1440,10080,43200};

//

//

//

//

//

int stringToTimeFrame(문자열 tfs)

{

tfs = StringUpperCase(tfs);

(int i=ArraySize(iTfTable)-1; i>=0; i--)

if (tfs==sTfTable || tfs==""+iTfTable) return(MathMax(iTfTable,Period()));

반환(마침표());

}

//

//

//

//

//

문자열 timeFrameToString(int tf)

{

(int i=ArraySize(iTfTable)-1; i>=0; i--)

if (tf==iTfTable) return(sTfTable);

반품("");

}

//

//

//

//

//

문자열 StringUpperCase(문자열 str)

{

문자열 s = str;

(int 길이=StringLen(str)-1; 길이>=0; 길이--)

{

int tchar = StringGetChar(들, 길이);

if((문자 > 96 && 문자 223 && 문자 < 256))

s = StringSetChar(s, 길이, tchar - 32);

else if(문자열 > -33 && 문자형 < 0)

s = StringSetChar(s, 길이, tchar + 224);

}

보고);

}

//------------------------------------------------ ------------------

//

//------------------------------------------------ ------------------

//

//

//

//

//

 
mrtools:
안녕하세요 Jozy, 표시기를 게시하는 것을 잊은 것 같습니다.

너무 미안 해요! 이것은 지표입니다:

파일:
 

미스터 툴즈나 mladen,

MTF에 이 표시기를 만들어 주시겠습니까?

친애하는,

마르코

[삭제]  

안녕,

나는 이 지표 Fantail을 가지고 있고 당신이 그것을 MTF로 만들 수 있다면 좋을 것입니다.

도움에 감사드립니다

파일:
 
Jozy:
Mr Mladen 또는 Mrtools, 이 지표에 대한 경고를 받을 수 있습니까? 제로 크로스 및 색상 변경?

감사해요

죠지

Jozy, 색상/기울기 변경 및/또는 제로 크로스에 대한 경고 옵션을 추가했습니다.

 
split15:
안녕,

나는 이 지표 Fantail을 가지고 있고 당신이 그것을 MTF로 만들 수 있다면 좋을 것입니다.

도움에 감사드립니다

안녕하세요 Split15님, mtf를 추가했습니다.

파일:
 

누군가 MT4용 OSMA MTF 표시기로 도움을 주나요?