커뮤니티
알려주세요
2019-01-28 19:32:29
282
글번호 125677
안녕하세요
나이가 많아서 잘 모르겠네요
이미지보시고 알려주세요
- 1. 126276_사용자_지정_3.png (0.02 MB)
답변 1
예스스탁 예스스탁 답변
2019-01-29 11:32:38
안녕하세요
예스스탁입니다.
신호와 관련된 내용이므로 시스템수식안에 추가하셔야 합니다.
var : BH(0),SL(0),TL(0),TX(0);
if index == 0 Then
{
BH = H;
SL = L;
}
if MarketPosition == 1 Then
{
if MarketPosition != MarketPosition[1] Then
{
BH = H;
TL = TL_New(sdate[1],stime[1],SL,sdate,stime,SL);
TL_SetColor(TL,BLUE);
TL_SetStyle(TL,3);
TX = Text_New(sdate,stime,SL,"손절가:"+NumToStr(SL,2));
}
Else
{
TL_SetEnd(TL,sdate,stime,TL_GetValue(TL,sdate,stime));
Text_SetLocation(TX,sdate,stime,TL_GetValue(TL,sdate,stime));
}
}
if MarketPosition == -1 then
{
if MarketPosition != MarketPosition[1] Then
{
SL = L;
TL = TL_New(sdate[1],stime[1],BH,sdate,stime,BH);
TL_SetColor(TL,RED);
TL_SetStyle(TL,3);
TX = Text_New(sdate,stime,BH,"손절가:"+NumToStr(BH,2));
}
Else
{
TL_SetEnd(TL,sdate,stime,TL_GetValue(TL,sdate,stime));
Text_SetLocation(TX,sdate,stime,TL_GetValue(TL,sdate,stime));
}
}
if H > BH Then
BH = H;
if L < SL Then
SL = L;
즐거운 하루되세요
> 발키 님이 쓴 글입니다.
> 제목 : 알려주세요
> 안녕하세요
나이가 많아서 잘 모르겠네요
이미지보시고 알려주세요