커뮤니티
다시문의드립니다.
2011-07-28 10:49:35
596
글번호 41403
input : ATRP(20),ATRS(1);
if MarketPosition == 1 Then
exitlong("bx",AtStop,Highest(h,BarsSinceEntry)-ATR(ATRP)*ATRS);
if MarketPosition == 1 Then
ExitShort("sx",AtStop,Lowest(L,BarsSinceEntry)+ATR(ATRP)*ATRS);
산식을 잘받았는데요..이상한건 첫번째 신호는 나오는데..
두번째 sx는 신호가 안나오는데 이유가 뭘까요?
참고로 리딩투자증권을 사용하고 있습니다.
답변 1
예스스탁 예스스탁 답변
2011-07-28 15:44:39
안녕하세요
예스스탁입니다.
죄송합니다. 잘못된 부분이 있어 수정했습니다
input : ATRP(20),ATRS(1);
if MarketPosition == 1 Then
exitlong("bx",AtStop,Highest(h,BarsSinceEntry)-ATR(ATRP)*ATRS);
if MarketPosition == -1 Then
ExitShort("sx",AtStop,Lowest(L,BarsSinceEntry)+ATR(ATRP)*ATRS);
즐거운 하루되세요
> 필승0701 님이 쓴 글입니다.
> 제목 : 다시문의드립니다.
> input : ATRP(20),ATRS(1);
if MarketPosition == 1 Then
exitlong("bx",AtStop,Highest(h,BarsSinceEntry)-ATR(ATRP)*ATRS);
if MarketPosition == 1 Then
ExitShort("sx",AtStop,Lowest(L,BarsSinceEntry)+ATR(ATRP)*ATRS);
산식을 잘받았는데요..이상한건 첫번째 신호는 나오는데..
두번째 sx는 신호가 안나오는데 이유가 뭘까요?
참고로 리딩투자증권을 사용하고 있습니다.
다음글