Inputs: Length(9), StdDev(2), Bars(2);
Variables: BBTop(0),BBBot(0);
BBTop = BollBandup(Length, StdDev);
BBBot = BollBanddown(Length, StdDev);
If CountIF(Close < BBBot, Bars) == Bars Then
Buy("BBtop", AtStop, BBBot);
If CountIF(Close > BBTop, Bars) == Bars Then
Sell("BBbot", AtStop, BBTop);
수고 하십니다
예스 시스템에 있는 볼밴입니다
조건 만족시 작동하는거 같은데
봉 완성시로 바꿀수 있나요?
감사드립니다
답변 1
예스스탁
예스스탁 답변
2022-09-13 15:06:36
안녕하세요
예스스탁입니다.
Inputs: Length(9), StdDev(2), Bars(2);
Variables: BBTop(0),BBBot(0);
BBTop = BollBandup(Length, StdDev);
BBBot = BollBanddown(Length, StdDev);
If CountIF(Close < BBBot, Bars)[1] == Bars and C >= BBBot Then
Buy("BBtop");
If CountIF(Close > BBTop, Bars)[1] == Bars and C <= BBTop Then
Sell("BBbot");
즐거운 하루되세요
> cjfdk 님이 쓴 글입니다.
> 제목 : 문의드립니다
> Inputs: Length(9), StdDev(2), Bars(2);
Variables: BBTop(0),BBBot(0);
BBTop = BollBandup(Length, StdDev);
BBBot = BollBanddown(Length, StdDev);
If CountIF(Close < BBBot, Bars) == Bars Then
Buy("BBtop", AtStop, BBBot);
If CountIF(Close > BBTop, Bars) == Bars Then
Sell("BBbot", AtStop, BBTop);
수고 하십니다
예스 시스템에 있는 볼밴입니다
조건 만족시 작동하는거 같은데
봉 완성시로 바꿀수 있나요?
감사드립니다