커뮤니티

수정 부탁드립니다

프로필 이미지
까시서방
2020-03-23 12:30:03
423
글번호 137113
답변완료
Var : RSI_Period2(6),SF2(5),QQE2(1.61),ThreshHold2(3); var : src2(0),Wilders_Period2(0),Rsi2(0),RsiMa2(0),AtrRsi2(0),MaAtrRsi2(0); var : dar2(0),longband2(0),shortband2(0),trend2(0),DeltaFastAtrRsi2(0); var : RSIndex2(0),newshortband2(0),newlongband2(0); var : cross_2(false),FastAtrRsi2TL(0); src2 = close; Wilders_Period2 = RSI_Period2 * 2 - 1; Rsi2 = rsi(RSI_Period2); RsiMa2 = ema(Rsi2, SF2); AtrRsi2 = abs(RsiMa2[1] - RsiMa2); MaAtrRsi2 = ema(AtrRsi2, Wilders_Period2); dar2 = ema(MaAtrRsi2, Wilders_Period2) * QQE2; longband2 = 0.0; shortband2 = 0.0; trend2 = 0; DeltaFastAtrRsi2 = dar2; RSIndex2 = RsiMa2; newshortband2 = RSIndex2 + DeltaFastAtrRsi2; newlongband2 = RSIndex2 - DeltaFastAtrRsi2; longband2 = iff(RSIndex2[1] > longband2[1] and RSIndex2 > longband2[1] ,max(longband2[1], newlongband2) , newlongband2); shortband2 = iff(RSIndex2[1] < shortband2[1] and RSIndex2 < shortband2[1] ,min(shortband2[1], newshortband2) , newshortband2); cross_2 = crossup(longband2[1], RSIndex2) or CrossDown(longband2[1], RSIndex2); trend2 = iff(crossup(RSIndex2, shortband2[1]) or CrossDown(RSIndex2, shortband2[1]) , 1 , iff(cross_2 , -1 , trend2[1])); FastAtrRsi2TL = iff(trend2 == 1 , longband2 , shortband2); var : QQE2zlong(0),QQE2zshort(0),hcolor2(0); var : Greenbar1(false),Greenbar2(false),Redbar1(false),Redbar2(false); QQE2zlong = 0; QQE2zlong = QQE2zlong[1]; QQE2zshort = 0; QQE2zshort = QQE2zshort[1]; QQE2zlong = iff(RSIndex2 >= 50 , QQE2zlong + 1 , 0); QQE2zshort = iff(RSIndex2 < 50 , QQE2zshort + 1 , 0); hcolor2 = iff(RsiMa2 - 50 > ThreshHold2 ,red,iff(RsiMa2 - 50 < 0 - ThreshHold2 ,blue,GRAY)); plot1(FastAtrRsi2TL - 50,"QQE Line"); plot2(RsiMa2 - 50,"Histo2",hcolor2); //// // 위 내용을 1분봉에서 타주기를 쓰지 않고 5분봉 값을 표현하고 싶습니다 // 항상 노고에 감사드립니다 ////
지표
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2020-03-24 13:27:26

안녕하세요 예스스탁입니다. 문의하신 내용은 작성해 드리는데 시간이 많이 걸리는 내용입니다. 업무상 일정시간 이상 투입되는 내용은 저희가 작성해 드리기 어렵습니다. 도움을 드리지 못해 죄송합니다. 즐거운 하루되세요 > 까시서방 님이 쓴 글입니다. > 제목 : 수정 부탁드립니다 > Var : RSI_Period2(6),SF2(5),QQE2(1.61),ThreshHold2(3); var : src2(0),Wilders_Period2(0),Rsi2(0),RsiMa2(0),AtrRsi2(0),MaAtrRsi2(0); var : dar2(0),longband2(0),shortband2(0),trend2(0),DeltaFastAtrRsi2(0); var : RSIndex2(0),newshortband2(0),newlongband2(0); var : cross_2(false),FastAtrRsi2TL(0); src2 = close; Wilders_Period2 = RSI_Period2 * 2 - 1; Rsi2 = rsi(RSI_Period2); RsiMa2 = ema(Rsi2, SF2); AtrRsi2 = abs(RsiMa2[1] - RsiMa2); MaAtrRsi2 = ema(AtrRsi2, Wilders_Period2); dar2 = ema(MaAtrRsi2, Wilders_Period2) * QQE2; longband2 = 0.0; shortband2 = 0.0; trend2 = 0; DeltaFastAtrRsi2 = dar2; RSIndex2 = RsiMa2; newshortband2 = RSIndex2 + DeltaFastAtrRsi2; newlongband2 = RSIndex2 - DeltaFastAtrRsi2; longband2 = iff(RSIndex2[1] > longband2[1] and RSIndex2 > longband2[1] ,max(longband2[1], newlongband2) , newlongband2); shortband2 = iff(RSIndex2[1] < shortband2[1] and RSIndex2 < shortband2[1] ,min(shortband2[1], newshortband2) , newshortband2); cross_2 = crossup(longband2[1], RSIndex2) or CrossDown(longband2[1], RSIndex2); trend2 = iff(crossup(RSIndex2, shortband2[1]) or CrossDown(RSIndex2, shortband2[1]) , 1 , iff(cross_2 , -1 , trend2[1])); FastAtrRsi2TL = iff(trend2 == 1 , longband2 , shortband2); var : QQE2zlong(0),QQE2zshort(0),hcolor2(0); var : Greenbar1(false),Greenbar2(false),Redbar1(false),Redbar2(false); QQE2zlong = 0; QQE2zlong = QQE2zlong[1]; QQE2zshort = 0; QQE2zshort = QQE2zshort[1]; QQE2zlong = iff(RSIndex2 >= 50 , QQE2zlong + 1 , 0); QQE2zshort = iff(RSIndex2 < 50 , QQE2zshort + 1 , 0); hcolor2 = iff(RsiMa2 - 50 > ThreshHold2 ,red,iff(RsiMa2 - 50 < 0 - ThreshHold2 ,blue,GRAY)); plot1(FastAtrRsi2TL - 50,"QQE Line"); plot2(RsiMa2 - 50,"Histo2",hcolor2); //// // 위 내용을 1분봉에서 타주기를 쓰지 않고 5분봉 값을 표현하고 싶습니다 // 항상 노고에 감사드립니다 ////