답변완료
종목검색식 부탁드림니다.
항상 노고에 감사드림니다.
아래의 수식을 종목검색식으로 부탁드림니다.
x1 = c > avg(c,5);
x2 = c > avg(c,20);
x3 = c > avg(c, 60);
x4 = avg(c,5) > avg(c,20);
x5 = avg(c,5) > avg(c,60);
x6 = o < avg(c,224);
x7 = amount > con1;
x8 = (h(1) / avg(c,224, 1) - 1) * 100 >= con2;
x9 = sum(if(x8,1,0), con3) >= 1;
x1 and x2 and x3 and x4 and x5
and x6 and x7 and x9
지표변수
con1 15000
con2 -5
con3 30
2025-03-14
408
글번호 189156
종목검색
답변완료
문의 드립니다
input : ShortPeriod(20), LongPeriod(38);
input : StartTime(140000),EndTime(40000);
var : Tcond(false);
IF Endtime > starttime Then
SetStopEndofday(Endtime);
Else
{
if sDate != sDate[1] Then
SetStopEndofday(Endtime);
}
if (sdate != sdate[1] and stime >= EndTime) or
(sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then
Tcond = False;
if (sdate != sdate[1] and stime >= StartTime) or
(sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then
{
Tcond = true;
IF Endtime <= starttime Then
{
SetStopEndofday(0);
}
}
var : wmaFast(0), wmaSlow(0), Trend(0);
wmaFast = wma(C, ShortPeriod);
wmaSlow = wma(C, LongPeriod);
if CrossUp(wmaFast, wmaSlow) Then
Trend = -1;
if CrossDown(wmaFast, wmaSlow) Then
Trend = 1;
if trend == 1 and trend != trend[1] Then
Buy();
if trend == -1 and trend != trend[1] Then
Sell();
위 수식어의 수정입니다.
Buy, Sell 진입신호후 -30틱에 손절 및 -50틱 반대 포지션 진입을 부탁드립니다.
2025-03-14
378
글번호 189155
시스템
답변완료
수식변환요청
다음식을 변환 부탁드립니다
AC=valueWhen(1,highest(V(1),125)<V && highest(C(1),60)<C,C);
AV=valueWhen(1,highest(V(1),125)<V && highest(C(1),60)<C,V);
BB=BarsSince(AC);
CC=highest(max(C(1),O(1)),20);
DD=V<AV*0.5;
EE=C>=CC*0.95 && C<=CC*1.05;
valuewhen(1,BB<20 && DD &&EE,CC);
2025-03-14
395
글번호 189153
지표
답변완료
색 겹침
안녕하세요.
아래 수식을 사용해 강세 약세를 표현하고 있습니다.
조건71과 조건72가 중복되어 색상이 나타날 때가 있습니다.
그럼 두 색이 겹쳐서 다른 색이 됩니다.
두 색상이 겹치지 않게 가능할까요?
두 색상의 우선 순위는...
Condition72번이 나타났는데.. 만약 Condition71도 신호가 발생해 두개의 색상이 겹치면 Condition71의 색상이 없어지고 Condition72의 색상이 나타나면 좋겠습니다.
var : box1(0),box2(0);
if Condition71 == true Then
{
if Condition71[1] == false Then
{
box1 = Box_New(sDate,sTime,H,NextBarSdate,NextBarStime,L);
Box_SetColor(box1,rgb(100,128,69));
Box_SetFill(box1,true,80,true);
Box_SetExtFill(box1,true);
}
Else
{
Box_SetEnd(box1,NextBarSdate,NextBarStime,L);
}
}
if Condition72 == true Then
{
if Condition72[1] == false Then
{
box2 = Box_New(sDate,sTime,H,NextBarSdate,NextBarStime,L);
Box_SetColor(box2,Magenta);
Box_SetFill(box2,true,50,true);
Box_SetExtFill(box2,true);
}
Else
{
Box_SetEnd(box2,NextBarSdate,NextBarStime,L);
}
}
항상 감사합니다.
좋은 하루 보내세요.~
2025-03-13
395
글번호 189150
강조
답변완료
검색식 부탁 드립니다
A=BBandsup(기간,승수);
A1=eavg(C,이평);
SS1=(highest(high,9)+Lowest(low,9)+
highest(high,26)+Lowest(Low,26))/4;
SS2=(highest(high,52)+Lowest(Low,52))/2;
SS1(25)<=C&&SS2(25)<=C&&
(Crossup(A,A1)OR(A1*1.03>=A&&
A1<=A&&Crossup(C,A)))
지표
이평240
기간120
승수 1
2025-03-13
432
글번호 189122
종목검색