예스스탁
예스스탁 답변
2025-06-18 11:18:43
안녕하세요
예스스탁입니다.
if C < O and CountIf(C>O,2)[1] == 2 Then
Sell();
if C > O and CountIf(C<O,2)[1] == 2 Then
Buy();
input : 틱단위(10),글자크기(12);
var : pp(0),ll(0),tx(0);
if MarketPosition == 1 Then
{
pp = Floor((highest(H,BarsSinceEntry)-EntryPrice)/(PriceScale*틱단위));
if pp > pp[1] Then
{
tx = Text_New(sdate,stime,H+PriceScale*3,NumToStr(pp*틱단위,0)+"틱");
Text_SetStyle(tx,2,1);
Text_SetSize(tx,글자크기);
}
}
if MarketPosition == -1 Then
{
pp = Floor((EntryPrice-lowest(L,BarsSinceEntry))/(PriceScale*틱단위));
if pp > pp[1] Then
{
tx = Text_New(sdate,stime,L-PriceScale*3,NumToStr(pp*틱단위,0)+"틱");
Text_SetStyle(tx,2,0);
Text_SetSize(tx,글자크기);
}
}
즐거운 하루되세요
> 만강 님이 쓴 글입니다.
> 제목 : 문의 드립니다
>
안녕하세요
2개이상의 양봉후 첫음봉 확정시 매도신호,2개이상 음봉발생후 양봉 확정시 매수신호발생하고 차트에 10틱단위표시되게 코딩부탁드립니다.
감사합니다.