예스스탁
예스스탁 답변
2024-05-27 15:50:38
안녕하세요
예스스탁입니다.
Input : Period1(1), Period2(15), Period3(30), Period4(60), Period5(120),period6(240),Period7(480), Period8(960), Period9(1920), Period10(3840),period11(7680);
var : Sma1(0),Sma2(0),Sma3(0),Sma4(0),Sma5(0),sma6(0),Sma7(0),Sma8(0),Sma9(0),Sma10(0),sma11(0),OBVV(0),PositiveVolumeIndex(0),dpo(0);
var : R1(0),R2(0);
Sma1 = ma(C,Period1);
Sma2 = ma(C,Period2);
Sma3 = ma(C,Period3);
Sma4 = ma(C,Period4);
Sma5 = ma(C,Period5);
sma6 = ma(c,period6);
Sma7 = ma(C,Period7);
Sma8 = ma(C,Period8);
Sma9 = ma(C,Period9);
Sma10 = ma(C,Period10);
sma11 = ma(c,period11);
Condition1 = sma1 > sma2 and
sma2 > sma3 and
sma3 > sma4 and
sma4 > sma5 and
sma5 > sma6 and
sma6 > sma7;
Condition2 = sma1 < sma2 and
sma2 < sma3 and
sma3 < sma4 and
sma4 < sma5 and
sma5 < sma6 and
sma6 < sma7;
Input : Short(12), Long(24);
value1 = accumN(C-C[1],Short);
value2 = accumN(C-C[1],Long);
value3 = iff(C>C[1],C-C[1],0);
value4 = iff(C<C[1],C-C[1],0);
If value1 > 0 Then
R1 = value1*(-100)/accumN(value3,Short);
Else
R1 = value1*100/accumN(value4,Short);
If value2 > 0 then
R2 = value2*(-100)/accumN(value3,Long);
Else
R2 = value2*100/accumN(value4,Long);
input : sig(10);
var : p(0),ps(0);
p = PVi;
ps = ma(p,sig);
if Condition2[1] == true and
CrossUp(r1,r2) and r1 < -75 and
CrossUp(p,ps) and
sma6[1] <= sma7-PriceScale*2 and
CrossUp(sma1,sma5) Then
Buy();
if Condition1[1] == true and
CrossDown(r1,r2) and r1 > 75 and
CrossDown(p,ps) and
sma6[1] >= sma7+PriceScale*2 and
CrossDown(sma1,sma5) Then
Sell();
즐거운 하루되세요
> tnsflwls 님이 쓴 글입니다.
> 제목 : 시스템 작성의뢰
> 수고 하십니다 !
Input : Period1(1), Period2(15), Period3(30), Period4(60), Period5(120),period6(240),Period7(480), Period8(960), Period9(1920), Period10(3840),period11(7680);
var : Sma1(0),Sma2(0),Sma3(0),Sma4(0),Sma5(0),sma6(0),Sma7(0),Sma8(0),Sma9(0),Sma10(0),sma11(0),OBVV(0),PositiveVolumeIndex(0),dpo(0);
var:s(0);
Sma1 = ma(C,Period1);
Sma2 = ma(C,Period2);
Sma3 = ma(C,Period3);
Sma4 = ma(C,Period4);
Sma5 = ma(C,Period5);
sma6 = ma(c,period6);
Sma7 = ma(C,Period7);
Sma8 = ma(C,Period8);
Sma9 = ma(C,Period9);
Sma10 = ma(C,Period10);
sma11 = ma(c,period11);
위수식을 적용하여 주시고
이동평균선 1선부터 480선까지 역배열후 reverse 1,2 지표가 -75 이하로 내려가서 reverse
1 지표가 reverse 2 지표를 업크로스 하며 pvi지표가 pvisg 지표를 업크로스 하고 240 이
평선과 480 이평선의 간격이 2틱이상 벌어지고 이평선 1 선이 120 이평선을 업크로스 할때
매수 하고
이동평균선 1선부터 480선까지 정배열후 reverse1,2 지표가 75 이상 올라가서 reverse 1
지표가 reverse 2 지표를 다운크로스 하며 pvi지표가 pvisg 지표를 다운크로스 하고 240
이평선과 480 이평선의 간격이 2 틱이상 벌어지고 이평선 1 선이 120 이평선을 다운크로스
할때 매도 하는 시스템을 부탁 드립니다 !