커뮤니티
수식부탁합니다======
2010-11-16 18:22:34
716
글번호 33670
09:02~14:50까지
포지션이없을때
매수
TSI가 10번연속상승하면 매수
매수청산
TSI가 하락전환즉시
#TSI와 SIGNAL 이 데드난 즉시
매도
TSI가 10번연속하락하면 매도
매도청산
TSI가 상승전환즉시
#TSI와 SIGNAL 이 골드난 즉시
답변 1
예스스탁 예스스탁 답변
2010-11-16 19:16:07
안녕하세요? 예스스탁입니다.
문의하신 내용 답변드립니다.
INPUTS: R(4), S(8), U(6), ZEROLINE(0), SMTHLEN(10);
var : Truestrength(0),Truestrengthsig(0);
Truestrength = TSI(C, R, S, U);
Truestrengthsig = Ema(TSI(C, R, S, U), SMTHLEN);
if stime > 090200 and stime < 145000 then {
if CountIF(Truestrength>Truestrength[1],10) == 10 Then
buy();
if CountIF(Truestrength<Truestrength[1],10) == 10 Then
sell();
}
if Truestrength < Truestrength[1] Then
exitlong();
if CrossDown(Truestrength, Truestrengthsig) Then
exitlong();
if Truestrength > Truestrength[1] Then
exitshort();
if CrossUp(Truestrength, Truestrengthsig) Then
exitshort();
> leekss1 님이 쓴 글입니다.
> 제목 : 수식부탁합니다======
> 09:02~14:50까지
포지션이없을때
매수
TSI가 10번연속상승하면 매수
매수청산
TSI가 하락전환즉시
#TSI와 SIGNAL 이 데드난 즉시
매도
TSI가 10번연속하락하면 매도
매도청산
TSI가 상승전환즉시
#TSI와 SIGNAL 이 골드난 즉시