예스스탁
예스스탁 답변
2019-12-30 13:49:39
안녕하세요
예스스탁입니다.
input : shortPeriod(5),midPeriod(10),Period(8),short(10),long(15),period1(17);
var : AA(0),BB(0),MM(0),tr(0),HighestSince(0),LowestSince(0);
var : macdv(0),dp(0),dm(0),para(0),bbup(0);
AA=(highest(high,shortPeriod)+lowest(low,shortPeriod))/2;
BB=(highest(high,midPeriod)+lowest(low,midPeriod))/2;
tr = trix(Period);
if crossup(tr,0) Then
HighestSince = c;
if HighestSince > 0 and c > HighestSince Then
HighestSince = c;
if CrossDown(tr,0) Then
LowestSince = c;
if LowestSince > 0 and c < LowestSince Then
LowestSince = c;
MM = (HighestSince+LowestSince)/2;
MACDV = MACD(short,long);
DP = DIPlus(14);
DM = DIMinus(14);
para = SAR(0.015,0.15);
bbup = BollBandUp(period1,2);
if c>=MM and MACDV >=0 and
DP>= DM and
C>=para and
CrossUp(c,bbup) Then
find(1);
새해 좋은 일만 가득하시길 기원합니다.
> 나호이다 님이 쓴 글입니다.
> 제목 : 수식문의드립니다.
>
A=(highest(high,shortPeriod)+lowest(low,shortPeriod))/2;
B=(highest(high,midPeriod)+lowest(low,midPeriod))/2;
M=(HighestSince(1,CrossUp(Trix(Period),0),C)+
LowestSince(1,CrossDown(Trix(Period),0),C))/2;
c>=M and
MACD(short,long)>=0 and
DIPlus(14)>=DIMinus(14) and
C>=SAR(0.015,0.15) and
CrossUp(c,BBandsUp(period1,2))
----------
shortPeriod 5
midPeriod 10
Period 8
short 10
long 15
period1 17
========
위의 수식을 종목검색 할수있게 부탁드립니다..^^
행복한 명절 되세요~~