커뮤니티
문의
2013-06-18 14:54:04
152
글번호 64434
1.당일 시가가 전일 고가보다 클때만 매수
if *** and dayhigh> dayhigh(1) then buy ();
2, 당일 최고가가 전일 최고가보다 클경우만 매수
3, 현재봉 종가가 20봉 최고가보다 클 경우만 매수
4, 수익거래 청산시에는 리버스 진입 금지
5 ADX(10) 상승중일때만 매수
6, 스탑트레일링
maxpositionprofit 1point 미만은 0.5 하락하면 청산
2 포인트 미만은 0.3 하락하면 청산
7.단기 ATR이 장기 ATR 보다 작은 경우만 매수
8볼린저 밴드폭 얼마간(P) 축소된 상태에서만 매수
이것의 식좀 부탁합니다
답변 1
예스스탁 예스스탁 답변
2013-06-18 17:59:30
안녕하세요
예스스탁입니다.
1.
if dayopen > dayhigh(1) and dayhigh > dayhigh(1) Then
buy();
2.
if dayhigh > dayhigh(1) then
buy();₩
3.
if C > highest(H,20)[1] then
buy();
4
if 매수조건 then{
if MarketPosition == -1 and C < EntryPrice Then
ExitShort();
Else
buy();
}
if 매도조건 then{
if MarketPosition == 1 and C > EntryPrice Then
ExitLong();
Else
sell();
}
5.
if adx(10) > adx(10)[1] then
buy();
6.
if MarketPosition == 1 Then{
if highest(H,BarsSinceEntry) < EntryPrice+1 Then
exitlong("bx1",AtStop,highest(H,BarsSinceEntry)-0.5);
if highest(H,BarsSinceEntry) >= EntryPrice+1 Then
exitlong("bx2",AtStop,highest(H,BarsSinceEntry)-0.3);
}
if MarketPosition == -1 Then{
if Lowest(L,BarsSinceEntry) > EntryPrice-1 Then
ExitShort("sx1",AtStop,Lowest(L,BarsSinceEntry)+0.5);
if Lowest(L,BarsSinceEntry) <= EntryPrice-1 Then
ExitShort("sx2",AtStop,Lowest(L,BarsSinceEntry)+0.3);
}
7.
if atr(10) < atr(20) then
buy();
8.
if BollBandUp(20,2) <= BollBandDown(20,2)+P Then
buy();
즐거운 하루되세요
> 구다이전설 님이 쓴 글입니다.
> 제목 : 문의
> 1.당일 시가가 전일 고가보다 클때만 매수
if *** and dayhigh> dayhigh(1) then buy ();
2, 당일 최고가가 전일 최고가보다 클경우만 매수
3, 현재봉 종가가 20봉 최고가보다 클 경우만 매수
4, 수익거래 청산시에는 리버스 진입 금지
5 ADX(10) 상승중일때만 매수
6, 스탑트레일링
maxpositionprofit 1point 미만은 0.5 하락하면 청산
2 포인트 미만은 0.3 하락하면 청산
7.단기 ATR이 장기 ATR 보다 작은 경우만 매수
8볼린저 밴드폭 얼마간(P) 축소된 상태에서만 매수
이것의 식좀 부탁합니다
다음글
이전글