예스스탁
예스스탁 답변
2024-06-26 14:16:51
안녕하세요
예스스탁입니다.
INPUT : shortPeriod(9),midPeriod(26),longPeriod(52),이평(13),RSIP(20);
VAR : 선행1(0),선행2(0),고점(0),저점(0),A(0),B(0),R(0),mav(0);
선행1=(highest(high,shortPeriod)+lowest(low,shortPeriod)+highest(high,midPeriod)+lowest(low,midPeriod))/4;
선행2=(highest(high,longPeriod)+lowest(low,longPeriod))/2;
고점 = Highest(선행1,25);
저점 = lowest(선행1,25);
IF 선행1<선행2 TheN
A=저점;
B = EMA(C, 이평);
Condition1 = CrossUp(B,A);
R = RSI(RSIP);
mav = ma(C,200);
Condition2 = Crossup(C, mav) and C>C[1]*1.05 and((V>V[1]*5) or (V[1]>V[2]*5));
IF Condition1[1] == true and R[1] < 64 and R > 64 and Condition2[1] == true TheN
Find(1);
즐거운 하루되세요
> ksks 님이 쓴 글입니다.
> 제목 : 수식수정
> 아래는 어제 작성해주신 수식입니다.
여기에 1봉전에 200이평(단순)돌파(가격/물량조건 추가)를 or로 추가하고 싶습니다.
A=avg(c,200);
Crossup(C, A) and C>C(1)*1.05 and
((V>V(1)*5) or (V(1)>V(2)*5))
즉,
- 1봉전에 RSI(20)<64에서 200이평돌파(가격/물량조건 추가) or 아래(13지수이평이
선형스팬기준선돌파)가 발생,
- and 0봉전 RSI(20)>64
마지막으로 부탁드립니다.
==========================================================================
INPUT : shortPeriod(9),midPeriod(26),longPeriod(52),이평(13),RSIP(20);
VAR : 선행1(0),선행2(0),고점(0),저점(0),A(0),B(0),R(0);
선행1=(highest(high,shortPeriod)+lowest(low,shortPeriod)+highest(high,midPeriod)+lowest(low,midPeriod))/4;
선행2=(highest(high,longPeriod)+lowest(low,longPeriod))/2;
고점 = Highest(선행1,25);
저점 = lowest(선행1,25);
IF 선행1<선행2 TheN
A=저점;
B = EMA(C, 이평);
Condition1 = CrossUp(B,A);
R = RSI(RSIP);
IF Condition1[1] == true and R[1] < 64 and R > 64 TheN
Find(1);
감사 감사드립니다.
IF Condition1[1] == true and R[1] < 64 and R > 64 and Condition2[1] == true TheN
Find(1);에서
condition2[1]==true일때도 rsi(20)이 64미만이었다가 0봉에 64이상이므로
Condition2[1] == true and R[1] < 64 and R > 64로 RSI값을 넣어야겠지요?
> 예스스탁 님이 쓴 글입니다.
> 제목 : Re : 수식수정
>
안녕하세요
예스스탁입니다.
INPUT : shortPeriod(9),midPeriod(26),longPeriod(52),이평(13),RSIP(20);
VAR : 선행1(0),선행2(0),고점(0),저점(0),A(0),B(0),R(0),mav(0);
선행1=(highest(high,shortPeriod)+lowest(low,shortPeriod)+highest(high,midPeriod)+lowest(low,midPeriod))/4;
선행2=(highest(high,longPeriod)+lowest(low,longPeriod))/2;
고점 = Highest(선행1,25);
저점 = lowest(선행1,25);
IF 선행1<선행2 TheN
A=저점;
B = EMA(C, 이평);
Condition1 = CrossUp(B,A);
R = RSI(RSIP);
mav = ma(C,200);
Condition2 = Crossup(C, mav) and C>C[1]*1.05 and((V>V[1]*5) or (V[1]>V[2]*5));
IF Condition1[1] == true and R[1] < 64 and R > 64 and Condition2[1] == true TheN
Find(1);
즐거운 하루되세요
> ksks 님이 쓴 글입니다.
> 제목 : 수식수정
> 아래는 어제 작성해주신 수식입니다.
여기에 1봉전에 200이평(단순)돌파(가격/물량조건 추가)를 or로 추가하고 싶습니다.
A=avg(c,200);
Crossup(C, A) and C>C(1)*1.05 and
((V>V(1)*5) or (V(1)>V(2)*5))
즉,
- 1봉전에 RSI(20)<64에서 200이평돌파(가격/물량조건 추가) or 아래(13지수이평이
선형스팬기준선돌파)가 발생,
- and 0봉전 RSI(20)>64
마지막으로 부탁드립니다.
==========================================================================
INPUT : shortPeriod(9),midPeriod(26),longPeriod(52),이평(13),RSIP(20);
VAR : 선행1(0),선행2(0),고점(0),저점(0),A(0),B(0),R(0);
선행1=(highest(high,shortPeriod)+lowest(low,shortPeriod)+highest(high,midPeriod)+lowest(low,midPeriod))/4;
선행2=(highest(high,longPeriod)+lowest(low,longPeriod))/2;
고점 = Highest(선행1,25);
저점 = lowest(선행1,25);
IF 선행1<선행2 TheN
A=저점;
B = EMA(C, 이평);
Condition1 = CrossUp(B,A);
R = RSI(RSIP);
IF Condition1[1] == true and R[1] < 64 and R > 64 TheN
Find(1);
예스스탁
예스스탁 답변
2024-06-26 14:41:56
안녕하세요
예스스탁입니다.
답변 수식에 R[1] < 64 and R > 64 and 조건이 있습니다.
반복해서 넣으실 필요가 없습니다.
전봉에 Condition1이 true이거나 Condition2가 true일때이면
아래와 같이 조건식 수정하시면 됩니다.
IF (Condition1[1] == true or Condition2[1] == true) and R[1] < 64 and R > 64 TheN
Find(1);
즐거운 하루되세요
> ksks 님이 쓴 글입니다.
> 제목 : Re : Re : 수식수정
> 감사 감사드립니다.
IF Condition1[1] == true and R[1] < 64 and R > 64 and Condition2[1] == true TheN
Find(1);에서
condition2[1]==true일때도 rsi(20)이 64미만이었다가 0봉에 64이상이므로
Condition2[1] == true and R[1] < 64 and R > 64로 RSI값을 넣어야겠지요?
> 예스스탁 님이 쓴 글입니다.
> 제목 : Re : 수식수정
>
안녕하세요
예스스탁입니다.
INPUT : shortPeriod(9),midPeriod(26),longPeriod(52),이평(13),RSIP(20);
VAR : 선행1(0),선행2(0),고점(0),저점(0),A(0),B(0),R(0),mav(0);
선행1=(highest(high,shortPeriod)+lowest(low,shortPeriod)+highest(high,midPeriod)+lowest(low,midPeriod))/4;
선행2=(highest(high,longPeriod)+lowest(low,longPeriod))/2;
고점 = Highest(선행1,25);
저점 = lowest(선행1,25);
IF 선행1<선행2 TheN
A=저점;
B = EMA(C, 이평);
Condition1 = CrossUp(B,A);
R = RSI(RSIP);
mav = ma(C,200);
Condition2 = Crossup(C, mav) and C>C[1]*1.05 and((V>V[1]*5) or (V[1]>V[2]*5));
IF Condition1[1] == true and R[1] < 64 and R > 64 and Condition2[1] == true TheN
Find(1);
즐거운 하루되세요
> ksks 님이 쓴 글입니다.
> 제목 : 수식수정
> 아래는 어제 작성해주신 수식입니다.
여기에 1봉전에 200이평(단순)돌파(가격/물량조건 추가)를 or로 추가하고 싶습니다.
A=avg(c,200);
Crossup(C, A) and C>C(1)*1.05 and
((V>V(1)*5) or (V(1)>V(2)*5))
즉,
- 1봉전에 RSI(20)<64에서 200이평돌파(가격/물량조건 추가) or 아래(13지수이평이
선형스팬기준선돌파)가 발생,
- and 0봉전 RSI(20)>64
마지막으로 부탁드립니다.
==========================================================================
INPUT : shortPeriod(9),midPeriod(26),longPeriod(52),이평(13),RSIP(20);
VAR : 선행1(0),선행2(0),고점(0),저점(0),A(0),B(0),R(0);
선행1=(highest(high,shortPeriod)+lowest(low,shortPeriod)+highest(high,midPeriod)+lowest(low,midPeriod))/4;
선행2=(highest(high,longPeriod)+lowest(low,longPeriod))/2;
고점 = Highest(선행1,25);
저점 = lowest(선행1,25);
IF 선행1<선행2 TheN
A=저점;
B = EMA(C, 이평);
Condition1 = CrossUp(B,A);
R = RSI(RSIP);
IF Condition1[1] == true and R[1] < 64 and R > 64 TheN
Find(1);