커뮤니티
종목검색 문의 드립니다
2026-04-02 17:57:20
58
글번호 231393
(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>ma(C,5) and
ma(C,5)>ma(C,20) and
C>O 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-03 10:15:09
안녕하세요
예스스탁입니다.
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>ma(C,5) and
ma(C,5)> ma(C,20) and
C>O 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);
즐거운 하루되세요
다음글
이전글