예스스탁
예스스탁 답변
2023-06-22 10:17:51
안녕하세요
예스스탁입니다.
input : vP(5),P1(1),P2(120),P3(240),P4(480),P5(960),P6(1920);
var : volma(0),mav1(0),mav2(0),mav3(0),mav4(0),mav5(0),mav6(0);
volma = ma(v,vp);
mav1 = ma(c,P1);
mav2 = ma(c,P2);
mav3 = ma(C,P3);
mav4 = ma(C,P4);
mav5 = ma(C,P5);
mav6 = ma(C,P6);
if volma > volma[1]+15 and
mav2 < mav3 and mav3 < mav4 and mav4 < mav5 and mav5 < mav6 and
mav4 <= mav5-PriceScale*5 and
CrossUp(mav1,mav2) Then
Buy();
if MarketPosition == 1 and c >= EntryPrice+PriceScale*18 and CrossDown(mav1,mav2) Then
ExitLong();
if volma > volma[1]+15 and
mav2 > mav3 and mav3 > mav4 and mav4 > mav5 and mav5 > mav6 and
mav4 >= mav5+PriceScale*5 and
CrossDown(mav1,mav2) Then
Sell();
if MarketPosition == -1 and c >= EntryPrice+PriceScale*18 and CrossUp(mav1,mav2) Then
ExitShort();
즐거운 하루되세요
> tnsflwls 님이 쓴 글입니다.
> 제목 : 시스템 작성의뢰
> 수고 하십니다!
1.거래량 5 이평선이 15 이상 상승하면 신호로 알려주고 120,240,480,960 ,1920 이동평균선이 역배열이 되고 480 이평선과
960 이평선의 간격이 5틱이상 벌어지고 1 이평선이120 이평선을 업크로스할때 매수를 하고 18 틱이상 상승한 다음 1 이평선이 120
이평선을 다운크로스 할때 청산을 한다
2.거래량 5 이평선이 15 이상 상승하면 신호로 알려주고 120,240,480,960 ,1920 이동평균선이 정배열이 되고 480 이평선과
960 이평선의 간격이 5틱이상 벌어지고 1 이평선이120 이평선을 업크로스할때 매도를 하고 18 틱이상 상승한 다음 1 이평선이 120
이평선을 업크로스 할때 청산을 한다