var : XBO(false),XBD(false),InsideDay(False),OutSideDay(False);
XBO = H == Highest(H,60) and (H-L) == Highest(H-L,10);
XBD = L ==
Lowest(L,60) and (H-L) == Lowest(H-L,10);
InsideDay = H < H[1] and L >
L[1];
if Xbo[1] == True and InsideDay == True
Then
buy("매수",atstop,H[1]+(H[1]*(1/16)));
if XBD[1] == True and InsideDay == True
Then
sell("매도",atstop,L[1]-(L[1]*(1/16)));
SetStopLoss(PriceScale*4,PointStop);
댓글 없음:
댓글 쓰기