커뮤니티
문의 드립니다.
2026-04-08 14:03:03
528
글번호 231511
안녕하세요 ~
평소 많은 도움 주심에 감사드립니다.
아래 신호 수식에 대한 종목의 검색식을 부탁 드립니다.
(CrossUp(C,Highest(H,3,1))
or C>Highest(H,3,1)) and
V>V(1)*1.5 and OBV()>eavg(OBV(),9) and
C>O and C>ma(C,5) and C>C(20) and
C>PredayHigh() and
C>2*((predayhigh()+predaylow()
+predayclose())/3)-predaylow() and
C>DayOpen()
+(PredayHigh()-PredayLow())*0.5 and
C>SuperTrend(20,3)
감사합니다
답변 1
예스스탁 예스스탁 답변
2026-04-08 14:31:36
안녕하세요
예스스탁입니다.
input : period(20),multiplier(3);
var : src(0), alpha(0),ATRV(0),upperBand(0),lowerBand(0),direction(0),SuperTrend(C);
if CurrentBar > 1 Then
{
src = (H+L)/2;
alpha = 1 / period ;
ATRV = IFf(IsNan(ATRV[1]) == true, ma(TrueRange,period) , alpha * TrueRange + (1 - alpha) * IFf(isnan(ATRV[1])==true,0,ATRV[1]));
upperBand = src + multiplier * AtrV;
lowerBand = src - multiplier * AtrV;
if lowerBand > lowerBand[1] or close[1] < lowerBand[1] Then
lowerBand = lowerBand;
Else
lowerBand = lowerBand[1];
if upperBand < upperBand[1] or close[1] > upperBand[1] Then
upperBand = upperBand;
Else
upperBand = upperBand[1];
if C > UpperBand Then
direction = 1;
if C < LowerBand Then
direction = -1;
if direction == 1 Then
SuperTrend = lowerband;
Else
SuperTrend = upperband;
}
if (CrossUp(C,Highest(H,3)[1]) or C>Highest(H,3)[1]) and
V>V[1]*1.5 and OBV()>Ema(OBV(),9) and
C>O and C>ma(C,5) and C>C[20] and
C>dayHigh(1) and
C>2*((dayhigh(1)+daylow(1)+dayclose(1))/3)-daylow(1) and
C>DayOpen()+(dayHigh(1)-dayLow(1))*0.5 and
C>SuperTrend Then
Find(1);
즐거운 하루되세요
다음글
이전글