안녕하세요?
담당자님, 친절하고 자세한 설명 매우큰 도움 되어서 감사함을 표시합니다.
정말 감사합니다.
아래의 수식에서 봉이 마감후 진입할수있게 진입을 변경하고싶습니다.
진입신호가나온후 봉마감할때 진입할수있게 해주시면 감사하겠습니다~
inputs: Length(10), Pval(0.05),당일청산(153000);
input : 익절틱수(10), 손절틱수(10), 진입횟수(3);
var : entry(0);
if Bdate != Bdate[1] Then
entry = 0;
if (MarketPosition != 0 and MarketPosition != MarketPosition[1]) or
(MarketPosition == MarketPosition[1] and TotalTrades > TotalTrades[1]) Then
entry = entry+1 ;
if entry < 진입횟수 then Sell("CBI", AtStop, Lowest(Low, Length) - Pval);
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
SetStopEndofday(당일청산);
답변 1
예스스탁
예스스탁 답변
2023-12-11 15:06:02
안녕하세요
예스스탁입니다.
inputs: Length(10), Pval(0.05),당일청산(153000);
input : 익절틱수(10), 손절틱수(10), 진입횟수(3);
var : entry(0);
if Bdate != Bdate[1] Then
entry = 0;
if (MarketPosition != 0 and MarketPosition != MarketPosition[1]) or
(MarketPosition == MarketPosition[1] and TotalTrades > TotalTrades[1]) Then
entry = entry+1 ;
if entry < 진입횟수 and C < lowest(Low,Length)[1]-Pval then Sell("CBI");
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
SetStopEndofday(당일청산);
즐거운 하루되세요
> 대구어린울프 님이 쓴 글입니다.
> 제목 : 수정 부탁드립니다.
> 안녕하세요?
담당자님, 친절하고 자세한 설명 매우큰 도움 되어서 감사함을 표시합니다.
정말 감사합니다.
아래의 수식에서 봉이 마감후 진입할수있게 진입을 변경하고싶습니다.
진입신호가나온후 봉마감할때 진입할수있게 해주시면 감사하겠습니다~
inputs: Length(10), Pval(0.05),당일청산(153000);
input : 익절틱수(10), 손절틱수(10), 진입횟수(3);
var : entry(0);
if Bdate != Bdate[1] Then
entry = 0;
if (MarketPosition != 0 and MarketPosition != MarketPosition[1]) or
(MarketPosition == MarketPosition[1] and TotalTrades > TotalTrades[1]) Then
entry = entry+1 ;
if entry < 진입횟수 then Sell("CBI", AtStop, Lowest(Low, Length) - Pval);
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
SetStopEndofday(당일청산);