커뮤니티

종목검색 문의

프로필 이미지
anj
2023-04-13 05:14:32
821
글번호 168134
답변완료
아래 시스템수식에서 진입신호에 뜨는 종목검색하는 수식부탁드려요 감사합니다(__) 그리고 혹시 차트에서 시스템 적용시 sell화살표를 지우는 방법이 있나요? input : rsiLenghth(14),rsiOverBought(70),rsiOverSold(30); var : bullishCandle(False),bearishCandle(False); var : rsiValue(0),isRSIOB(False),isRSIOS(False); var : tradeSignal(False); bullishCandle=close >= open[1] and close[1] < open[1]; bearishCandle=close <= open[1] and close[1] >open[1]; rsiValue=rsi(rsiLenghth); isRSIOB=rsiValue >= rsiOverBought and rsiValue; isRSIOS=rsiValue <= rsiOverSold and rsiValue; tradeSignal=((isRSIOS or isRSIOS[1] or isRSIOS[2]) and bullishCandle ) or ((isRSIOB or isRSIOB[1] or isRSIOB[2]) and bearishCandle); if tradeSignal and bullishCandle Then Buy(); if tradeSignal and bearishCandle Then Sell();
종목검색
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2023-04-13 11:08:11

안녕하세요 예스스탁입니다. 1 input : rsiLenghth(14),rsiOverBought(70),rsiOverSold(30); var : bullishCandle(False),bearishCandle(False); var : rsiValue(0),isRSIOB(False),isRSIOS(False); var : tradeSignal(False); bullishCandle=close >= open[1] and close[1] < open[1]; bearishCandle=close <= open[1] and close[1] >open[1]; rsiValue=rsi(rsiLenghth); isRSIOB=rsiValue >= rsiOverBought and rsiValue; isRSIOS=rsiValue <= rsiOverSold and rsiValue; tradeSignal=((isRSIOS or isRSIOS[1] or isRSIOS[2]) and bullishCandle ) or ((isRSIOB or isRSIOB[1] or isRSIOB[2]) and bearishCandle); if tradeSignal and bullishCandle Then Find(1); 2 별도로 sell을 표시하지 않게 할수는 없습니다. 시스템은 진입과 청산이 반복되어야 합니다. sell을 삭제하면 차트상 최초 만족한봉에 매수신호가 표시되고 이후에 신호가 없게 됩니다. 즐거운 하루되세요 > anj 님이 쓴 글입니다. > 제목 : 종목검색 문의 > 아래 시스템수식에서 진입신호에 뜨는 종목검색하는 수식부탁드려요 감사합니다(__) 그리고 혹시 차트에서 시스템 적용시 sell화살표를 지우는 방법이 있나요? input : rsiLenghth(14),rsiOverBought(70),rsiOverSold(30); var : bullishCandle(False),bearishCandle(False); var : rsiValue(0),isRSIOB(False),isRSIOS(False); var : tradeSignal(False); bullishCandle=close >= open[1] and close[1] < open[1]; bearishCandle=close <= open[1] and close[1] >open[1]; rsiValue=rsi(rsiLenghth); isRSIOB=rsiValue >= rsiOverBought and rsiValue; isRSIOS=rsiValue <= rsiOverSold and rsiValue; tradeSignal=((isRSIOS or isRSIOS[1] or isRSIOS[2]) and bullishCandle ) or ((isRSIOB or isRSIOB[1] or isRSIOB[2]) and bearishCandle); if tradeSignal and bullishCandle Then Buy(); if tradeSignal and bearishCandle Then Sell();