커뮤니티

부탁해요

프로필 이미지
오동도물개
2015-12-10 05:32:29
129
글번호 93259
답변완료
일목균형표에서 현재가가 전환선을 크로스다운하면 매도청산,크로스업하면 매수청산식을 사용하는데 매도청산/매수청산이 이루어질경우 청산된 자리에 수직선이 표시되겠금 하고싶네요. if crossup(c,전환선) and c>A then exitshort(); if crossdown(c,전환선) and c<B then exitlong();
시스템
답변 1
프로필 이미지

예스스탁 예스스탁 답변

2015-12-10 16:27:36

안녕하세요 예스스탁입니다. If MarketPosition == -1 AND crossup(c,전환선) and c > A then { TL_New(sdate,stime,9999999,sdate,stime,0); exitshort(); } if MarketPosition == 1 and crossdown(c,전환선) and c < B then{ TL_New(sdate,stime,9999999,sdate,stime,0); exitlong(); } 즐거운 하루되세요 > 오동도물개 님이 쓴 글입니다. > 제목 : 부탁해요 > 일목균형표에서 현재가가 전환선을 크로스다운하면 매도청산,크로스업하면 매수청산식을 사용하는데 매도청산/매수청산이 이루어질경우 청산된 자리에 수직선이 표시되겠금 하고싶네요. if crossup(c,전환선) and c>A then exitshort(); if crossdown(c,전환선) and c<B then exitlong();