커뮤니티
부탁드립니다
2016-11-01 14:17:28
98
글번호 103557
조건에 만족하는 수식 부탁드립니다.
답변 2
예스스탁 예스스탁 답변
2016-11-01 09:35:05
안녕하세요
예스스탁입니다.
input : X(10),loss(5),Profit(10);
if MarketPosition <= 0 and H < dayopen+PriceScale*X Then
buy("b",AtStop,dayopen+PriceScale*X);
if MarketPosition == 1 Then{
ExitLong("bl",AtStop,dayopen-PriceScale*loss);
ExitLong("bp",AtStop,EntryPrice+PriceScale*profit);
}
if MarketPosition >= 0 and L > dayopen-PriceScale*X Then
Sell("s",AtStop,dayopen-PriceScale*X);
if MarketPosition == -1 Then{
ExitShort("sl",AtStop,DayOpen+PriceScale*loss);
ExitShort("sp",AtStop,EntryPrice-PriceScale*profit);
}
즐거운 하루되세요
> 불기둥짱 님이 쓴 글입니다.
> 제목 : 부탁드립니다
> 조건에 만족하는 수식 부탁드립니다.
불기둥짱
2016-11-01 12:54:24
불기둥짱 님에 의해 삭제된 답변입니다.
다음글
이전글