커뮤니티
수고하십니다.
2013-01-27 16:46:08
259
글번호 58710
Input:
BLen(100),
XLen(100),
bstop(0.01),
sstop(0.01);
Buy("b", atstop, Highest(High,BLen)+0.0001);
sell("s", AtStop, Lowest(Low,XLen)-0.0001);
if MarketPosition == 1 Then
exitlong("bt",AtStop,highest(H,BarsSinceEntry)-bstop);
if MarketPosition == -1 Then
ExitShort("st",AtStop,lowest(L,BarsSinceEntry)+sstop);
-------------------
위의 돌파와 트레일링스탑의 지표식이 필요합니다.
답변 1
예스스탁 예스스탁 답변
2013-01-28 14:32:25
안녕하세요
예스스탁입니다.
Input:BLen(100),XLen(100),bstop(0.01),sstop(0.01);
plot1(Highest(High,BLen)+0.0001);
plot2(Lowest(Low,XLen)-0.0001);
if crossup(h, Highest(High,BLen)[1]+0.0001) Then
var1 = index;
if CrossDown(L, Lowest(High,XLen)[1]+0.0001) Then
var2 = index;
plot3(highest(H,index-var1)-Bstop);
plot4(Lowest(H,index-var2)+sstop);
즐거운 하루되세요
> 아침못 님이 쓴 글입니다.
> 제목 : 수고하십니다.
>
Input:
BLen(100),
XLen(100),
bstop(0.01),
sstop(0.01);
Buy("b", atstop, Highest(High,BLen)+0.0001);
sell("s", AtStop, Lowest(Low,XLen)-0.0001);
if MarketPosition == 1 Then
exitlong("bt",AtStop,highest(H,BarsSinceEntry)-bstop);
if MarketPosition == -1 Then
ExitShort("st",AtStop,lowest(L,BarsSinceEntry)+sstop);
-------------------
위의 돌파와 트레일링스탑의 지표식이 필요합니다.
다음글
이전글