커뮤니티

종목검색 문의 드립니다

프로필 이미지
비리번
2025-04-23 10:18:42
268
글번호 190350
답변완료
안녕하세요 예스스탁입니다. mx39(), mn39() 올리신 수식에 위와 같은 시용자함수가 있습니다. 해당 함수의 내용을 올려주셔야 변환이 가능합니다. 즐거운 하루되세요 > 비리번 님이 쓴 글입니다. > 제목 : 종목검색 문의 드립니다 > st60 = supertrend(60,2); d=mx39()/mn39()*100-100; crossup(c,st60) && st60<st60(1)&& st60(1)>mx39()&& st60<mn39()&&c>mx39()&& d<5 (mx39() 함수) m10=ma(c,10);m11=ma(c,11);m12=ma(c,12); m13=ma(c,13);m14=ma(c,14);m15=ma(c,15); m16=ma(c,16);m17=ma(c,17);m18=ma(c,18); m19=ma(c,19);m20=ma(c,20); m21=ma(c,21);m22=ma(c,22);m23=ma(c,23); m24=ma(c,24);m25=ma(c,25);m26=ma(c,26); m27=ma(c,27);m28=ma(c,28);m29=ma(c,29); m30=ma(c,30);m31=ma(c,31);m32=ma(c,32); m33=ma(c,33);m34=ma(c,34);m35=ma(c,35); m36=ma(c,36);m37=ma(c,37);m38=ma(c,38); m39=ma(c,39); max(m10, m11,m12,m13,m14,m15,m16,m17,m18,m19,m20, m21,m22,m23,m24,m25,m26,m27,m28,m29,m30, m31,m32,m33,m34,m35,m36,m37,m38,m39); (mn39() 함수) m10=ma(c,10);m11=ma(c,11);m12=ma(c,12); m13=ma(c,13);m14=ma(c,14);m15=ma(c,15); m16=ma(c,16);m17=ma(c,17);m18=ma(c,18); m19=ma(c,19);m20=ma(c,20); m21=ma(c,21);m22=ma(c,22);m23=ma(c,23); m24=ma(c,24);m25=ma(c,25);m26=ma(c,26); m27=ma(c,27);m28=ma(c,28);m29=ma(c,29); m30=ma(c,30);m31=ma(c,31);m32=ma(c,32); m33=ma(c,33);m34=ma(c,34);m35=ma(c,35); m36=ma(c,36);m37=ma(c,37);m38=ma(c,38); m39=ma(c,39); mn=min(m10, m11,m12,m13,m14,m15,m16,m17,m18,m19,m20, m21,m22,m23,m24,m25,m26,m27,m28,m29,m30, m31,m32,m33,m34,m35,m36,m37,m38,m39);
종목검색
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2025-04-23 14:13:41

안녕하세요 예스스탁입니다. input : period(60),multiplier(2); var : src(0), AtrV(0),upperBand(0),lowerBand(0), prevLowerBand(0), prevUpperBand(0); var : prevSuperTrend(0), direction(0),alpha(0),source(0),SuperTrend(C); var : m10(0),m11(0),m12(0),m13(0),m14(0),m15(0),m16(0),m17(0),m18(0),m19(0),m20(0); var : m21(0),m22(0),m23(0),m24(0),m25(0),m26(0),m27(0),m28(0),m29(0),m30(0); var : m31(0),m32(0),m33(0),m34(0),m35(0),m36(0),m37(0),m38(0),m39(0); var : mx39(0),mn39(0),st60(0),d(0); if CurrentBar > 1 Then { src = (H+L)/2; alpha = 1 / period ; source = TrueRange; ATrV = IFf(IsNan(ATrV[1]) == true, ma(source,period) , alpha * source + (1 - alpha) * IFf(isnan(ATrV[1])==true,0,ATrV[1])); //ATrV = ma(source,AtrPeriod); //단순이평방식 upperBand = src + multiplier * AtrV; lowerBand = src - multiplier * AtrV; prevLowerBand = lowerBand[1]; prevUpperBand = upperBand[1]; if lowerBand > prevLowerBand or close[1] < prevLowerBand Then lowerBand = lowerBand; Else lowerBand = prevLowerBand; if upperBand < prevUpperBand or close[1] > prevUpperBand Then upperBand = upperBand; Else upperBand = prevUpperBand; if C > UpperBand Then direction = 1; if C < LowerBand Then direction = -1; if direction == 1 Then SuperTrend = lowerband; Else SuperTrend = upperband; st60 = SuperTrend; } m10=ma(c,10);m11=ma(c,11);m12=ma(c,12); m13=ma(c,13);m14=ma(c,14);m15=ma(c,15); m16=ma(c,16);m17=ma(c,17);m18=ma(c,18); m19=ma(c,19);m20=ma(c,20); m21=ma(c,21);m22=ma(c,22);m23=ma(c,23); m24=ma(c,24);m25=ma(c,25);m26=ma(c,26); m27=ma(c,27);m28=ma(c,28);m29=ma(c,29); m30=ma(c,30);m31=ma(c,31);m32=ma(c,32); m33=ma(c,33);m34=ma(c,34);m35=ma(c,35); m36=ma(c,36);m37=ma(c,37);m38=ma(c,38); m39=ma(c,39); mx39 = max(m10,m11,m12,m13,m14,m15,m16,m17,m18,m19,m20, m21,m22,m23,m24,m25,m26,m27,m28,m29,m30, m31,m32,m33,m34,m35,m36,m37,m38,m39); mn39 = max(m10,m11,m12,m13,m14,m15,m16,m17,m18,m19,m20, m21,m22,m23,m24,m25,m26,m27,m28,m29,m30, m31,m32,m33,m34,m35,m36,m37,m38,m39); st60 = supertrend(60,2); d=mx39/mn39*100-100; if crossup(c,st60) && st60 < st60[1] && st60[1] >mx39 && st60 < mn39 && c>mx39&& d<5 Then Find(1); 즐거운 하루되세요 > 비리번 님이 쓴 글입니다. > 제목 : 종목검색 문의 드립니다 > 안녕하세요 예스스탁입니다. mx39(), mn39() 올리신 수식에 위와 같은 시용자함수가 있습니다. 해당 함수의 내용을 올려주셔야 변환이 가능합니다. 즐거운 하루되세요 > 비리번 님이 쓴 글입니다. > 제목 : 종목검색 문의 드립니다 > st60 = supertrend(60,2); d=mx39()/mn39()*100-100; crossup(c,st60) && st60<st60(1)&& st60(1)>mx39()&& st60<mn39()&&c>mx39()&& d<5 (mx39() 함수) m10=ma(c,10);m11=ma(c,11);m12=ma(c,12); m13=ma(c,13);m14=ma(c,14);m15=ma(c,15); m16=ma(c,16);m17=ma(c,17);m18=ma(c,18); m19=ma(c,19);m20=ma(c,20); m21=ma(c,21);m22=ma(c,22);m23=ma(c,23); m24=ma(c,24);m25=ma(c,25);m26=ma(c,26); m27=ma(c,27);m28=ma(c,28);m29=ma(c,29); m30=ma(c,30);m31=ma(c,31);m32=ma(c,32); m33=ma(c,33);m34=ma(c,34);m35=ma(c,35); m36=ma(c,36);m37=ma(c,37);m38=ma(c,38); m39=ma(c,39); max(m10, m11,m12,m13,m14,m15,m16,m17,m18,m19,m20, m21,m22,m23,m24,m25,m26,m27,m28,m29,m30, m31,m32,m33,m34,m35,m36,m37,m38,m39); (mn39() 함수) m10=ma(c,10);m11=ma(c,11);m12=ma(c,12); m13=ma(c,13);m14=ma(c,14);m15=ma(c,15); m16=ma(c,16);m17=ma(c,17);m18=ma(c,18); m19=ma(c,19);m20=ma(c,20); m21=ma(c,21);m22=ma(c,22);m23=ma(c,23); m24=ma(c,24);m25=ma(c,25);m26=ma(c,26); m27=ma(c,27);m28=ma(c,28);m29=ma(c,29); m30=ma(c,30);m31=ma(c,31);m32=ma(c,32); m33=ma(c,33);m34=ma(c,34);m35=ma(c,35); m36=ma(c,36);m37=ma(c,37);m38=ma(c,38); m39=ma(c,39); mn=min(m10, m11,m12,m13,m14,m15,m16,m17,m18,m19,m20, m21,m22,m23,m24,m25,m26,m27,m28,m29,m30, m31,m32,m33,m34,m35,m36,m37,m38,m39);