커뮤니티
수정부탁합니다
2019-06-28 12:39:40
182
글번호 129848
INPUTS: P(14),R(4), S(8), U(6),sto1(26),sto2(17);
var : Truestrength(0),T1(0),stok(0),T2(0),atrv(0),T3(0);
atrv = atr(p);
Truestrength = TSI(C, R, S, U);
stok = StochasticsK(sto1,sto2);
if atrv > atrv[1] Then
T1 = 1;
if atrv < atrv[1] Then
T1 = -1;
if Truestrength > Truestrength[1] Then
T2 = 1;
if Truestrength < Truestrength[1] Then
T2 = -1;
if stok > stok[1] Then
T3 = 1;
if stok < stok[1] Then
T3 = -1;
if T1 == 1 and
countif(T1==1 and *****클로즈업 검색조건****
T1[1] != 1,5) >= 1 and
Truestrength <= 50 and
T2 == 1 and
countif(T2==1 and *****클로즈업 검색조건****
T2[1] != 1,7) >= 1 and
stok <= 80 and
T3 == 1 and
countif(T3==1 and *****클로즈업 검색조건****
T3[1] != 1,7) >= 1 and
Then
find(1);
수정부탁합니다
답변 1
예스스탁 예스스탁 답변
2019-06-28 15:14:19
안녕하세요
예스스탁입니다.
TSI와 스토케스틱의 현재값이 과거봉수에 영향을 받습니다.
그러므로 종목검색시에 속성에서 검색에 필요한 최소기간에
종목검색에 제공되는 최대봉수인 500을 지정하고 검색하시기 바랍니다.
input : atrP(14),atrSig(9);
input : R(4),S(8),U(6),TSIsig(10);
input : sto1(26),sto2(17),sto3(5);
var : ATRv(0),ATRs(0),T1(0);
var : TSIv(0),TSIs(0),T2(0);
var : stok(0),stod(0),T3(0);
atrv = atr(Atrp);
atrs = ma(atrv,Atrsig);
TSIv = TSI(C, R, S, U);
TSIs = ema(TSIv,TSIsig);
stok = StochasticsK(sto1,sto2);
stod = StochasticsD(sto1,sto2,sto3);
if atrv > atrv[1] Then
T1 = 1;
if atrv < atrv[1] Then
T1 = -1;
if TSIv > TSIv[1] Then
T2 = 1;
if TSIv < TSIv[1] Then
T2 = -1;
if stok > stok[1] Then
T3 = 1;
if stok < stok[1] Then
T3 = -1;
if T1 == 1 and ATRv > ATRs and countif(crossup(ATRV,ATRs),5) >= 1 and
T2 == 1 and TSIv <= 50 and TSIv > TSIs and countif(crossup(TSIv,TSIs),7) >= 1 and
T3 == 1 and stok <= 80 and stok > stod and countif(crossup(stok,stod),7) >= 1 Then
find(1);
즐거운 하루되세요
> 만호 님이 쓴 글입니다.
> 제목 : 수정부탁합니다
>
INPUTS: P(14),R(4), S(8), U(6),sto1(26),sto2(17);
var : Truestrength(0),T1(0),stok(0),T2(0),atrv(0),T3(0);
atrv = atr(p);
Truestrength = TSI(C, R, S, U);
stok = StochasticsK(sto1,sto2);
if atrv > atrv[1] Then
T1 = 1;
if atrv < atrv[1] Then
T1 = -1;
if Truestrength > Truestrength[1] Then
T2 = 1;
if Truestrength < Truestrength[1] Then
T2 = -1;
if stok > stok[1] Then
T3 = 1;
if stok < stok[1] Then
T3 = -1;
if T1 == 1 and
countif(T1==1 and *****클로즈업 검색조건****
T1[1] != 1,5) >= 1 and
Truestrength <= 50 and
T2 == 1 and
countif(T2==1 and *****클로즈업 검색조건****
T2[1] != 1,7) >= 1 and
stok <= 80 and
T3 == 1 and
countif(T3==1 and *****클로즈업 검색조건****
T3[1] != 1,7) >= 1 and
Then
find(1);
수정부탁합니다
다음글
이전글