수고가 많으십니다.
다음의 두개의 수식 변환을 부탁드립니다.
(1) 수식
A = (Dayclose() + Predayclose() + nPredayclose(2) + nPredayclose(3) +
nPredayclose(4))/5;
B = (Predayclose() + nPredayclose(2) + nPredayclose(3) +
nPredayclose(4) + nPredayclose(5))/5;
조건 =
B < A
&&
B(3)> B(2)>B(1)<B
&&
(C >A && C >B)
or
(CrossUp(C, A) && CrossUp(C, B));
조건 && !조건(1)
(2)수식
PAR=sar(af, maxAf);
RS=RSI(5);
RS(4)<30 or RS(3) < 30 or
RS(2) < 30 or RS(1) < 30
&&
RS>50
&&
PAR< C
&&
H > Highest(H(1), 3)
지표변수
af 0.18
maxAf 0.23
답변 1
예스스탁
예스스탁 답변
2023-01-12 14:35:31
안녕하세요.
예스스탁 입니다.
1
var : A(0),B(0);
A = (Dayclose() + dayclose(1) + dayclose(2) + dayclose(3) + dayclose(4))/5;
B = (dayclose(1) + dayclose(2) + dayclose(3) + dayclose(4) + dayclose(5))/5;
Condition1 = B < A && B[3] > B[2] and B[2] >B[1] and B[1] < B && (C >A && C >B) or (CrossUp(C, A) && CrossUp(C, B));
if Condition1 == true and Condition1[1] == False Then
Find(1);
2
input : af(0.18),maxaf(0.23);
var : PAR(0),RS(0);
PAR=sar(af, maxAf);
RS=RSI(5);
if (RS[4]<30 or RS[3] < 30 or RS[2] < 30 or RS[1] < 30)
&& RS>50 && PAR< C && H > Highest(H, 3)[1] Then
Find(1);
즐거운 하루 보내세요.
> redcon 님이 쓴 글입니다.
> 제목 : 다음의 수식 변환을 부탁드립니다.
> 수고가 많으십니다.
다음의 두개의 수식 변환을 부탁드립니다.
(1) 수식
A = (Dayclose() + Predayclose() + nPredayclose(2) + nPredayclose(3) +
nPredayclose(4))/5;
B = (Predayclose() + nPredayclose(2) + nPredayclose(3) +
nPredayclose(4) + nPredayclose(5))/5;
조건 =
B < A
&&
B(3)> B(2)>B(1)<B
&&
(C >A && C >B)
or
(CrossUp(C, A) && CrossUp(C, B));
조건 && !조건(1)
(2)수식
PAR=sar(af, maxAf);
RS=RSI(5);
RS(4)<30 or RS(3) < 30 or
RS(2) < 30 or RS(1) < 30
&&
RS>50
&&
PAR< C
&&
H > Highest(H(1), 3)
지표변수
af 0.18
maxAf 0.23