예스스탁
예스스탁 답변
2021-03-23 15:56:19
안녕하세요
예스스탁입니다.
var : tx1(0),tx2(0),HH(0),LL(0),HT(0),LT(0);
if MarketPosition != 0 Then
{
if MarketPosition != MarketPosition[1] Then
{
HH = H;
LL = L;
HT = (HH-EntryPrice)/PriceScale;
LT = (LL-EntryPrice)/PriceScale;
tx1 = Text_New(sDate,sTime,H,NumToStr(HT,0));
tx2 = Text_New(sDate,sTime,L,NumToStr(LT,0));
Text_SetStyle(tx1,2,1);
Text_SetStyle(tx2,2,0);
}
Else
{
if H > HH Then
{
HH = H;
HT = (HH-EntryPrice)/PriceScale;
Text_SetString(tx1,NumToStr(HT,0));
Text_SetLocation(tx1,sDate,sTime,H);
}
if L < LL Then
{
LL = L;
LT = (LL-EntryPrice)/PriceScale;
Text_SetString(tx2,NumToStr(LT,0));
Text_SetLocation(tx2,sDate,sTime,L);
}
}
}
즐거운 하루되세요
> kjdkdh 님이 쓴 글입니다.
> 제목 : 식좀 부탁합니다
> 안녕하세요
시스템 차트에 매수,매도하면
진입가 기준 올라가면 최고점 +00틱
내려가면 최저가 -00틱
이런식으로 나오게 부탁합니다
진폭좀 계산하고 싶어서요