커뮤니티
수식 부탁드립니다.
2019-01-03 01:26:44
179
글번호 124899
12시 30분에 210분봉이 양봉이면, 전량매수
다음날 (갭상이면 시가청산, 갭하락이면 전종가에 지정가 청산) or 9:30 전량매도
수식 부탁드립니다.
답변 1
예스스탁 예스스탁 답변
2019-01-03 14:15:40
안녕하세요
예스스탁입니다.
if NextBarStime >= 123000 and stime < 123000 and C > DayOpen Then
buy("b",AtMarket);
if MarketPosition == 1 then
{
if NextBarSdate != sdate then
{
if NextBarOpen > C Then
ExitLong("bx1",AtMarket);
Else
ExitLong("bx2",AtLimit,C);
}
if NextBarSdate == sdate and dayopen <= DayClose(1) and sdate > EntryDate then
{
ExitLong("bx3",AtLimit,DayClose(1));
}
if NextBarStime >= 93000 and stime <93000 and sdate > EntryDate then
{
ExitLong("bx4",AtMarket);
}
}
즐거운 하루되세요
> 에이치 님이 쓴 글입니다.
> 제목 : 수식 부탁드립니다.
> 12시 30분에 210분봉이 양봉이면, 전량매수
다음날 (갭상이면 시가청산, 갭하락이면 전종가에 지정가 청산) or 9:30 전량매도
수식 부탁드립니다.
다음글
이전글