답변완료
돌파 조건 검색식 부탁 합니다
A=ATR(A_period);
UPT=eavg(가격+A*ratio,기간);
dnt=eavg(가격-A*ratio,기간);
CC=CCi(period);
turn=
if(CC>=0&&dnt>dnt(1),1,
if(CC<0&&upt<upt(1),-1,0));
라인=if(turn==-1,upt,dnt);
D=valuewhen(1,turn==1 OR turn==-1,라인)
지표조건
A_period 26
period 20
ratio 1
가격 (H+L)/2
기간 5
S=avg((highest(high,기간)),기간)
지표 조건
기간 240
2차저항(predayhigh()+predaylow()+predayclose())/3 +predayhigh()-predaylow()
분봉에서 D가 S OR 2차저항 돌파 검색식 부탁 드립니다
2025-03-18
310
글번호 189290
종목검색
답변완료
도움을 요청합니다
안녕하세요
아래 지표수식을 거래량에서 거래금액으로 바꾸고자합니다.
도와주시면 대단히 감사하겠습니다.
감사합니다.
==========================================
input : R1(0),G1(0),B1(0);
input : R2(0),G2(0),B2(0);
var : hh(0),ll(0);
if Bdate != Bdate[1] Then
{
var1 = 0;
Var2 = Upvol-DownVol;
}
var1 = var1 + (Upvol-DownVol);
if CurrentDate == sDate Then
Plot1(var1,"당일실매수거래량",iff(var1 > 0,RGB(0,0,0),RGB(0,0,0)));
if CurrentDate == sDate Then
plot2(Var2,"첫봉종가");
if Bdate != Bdate[1] Then
{
hh = var1;
ll = var1;
}
Else
{
if var1 > hh Then
hh = var1;
if var1 < ll Then
ll = var1;
}
if CurrentDate == sDate Then
plot11(Var2+75,"첫봉종가+50");
if Bdate != Bdate[1] Then
{
hh = var1;
ll = var1;
}
Else
{
if var1 > hh Then
hh = var1;
if var1 < ll Then
ll = var1;
}
if CurrentDate == sDate Then
plot12(Var2-75,"첫봉종가-50");
if Bdate != Bdate[1] Then
{
hh = var1;
ll = var1;
}
Else
{
if var1 > hh Then
hh = var1;
if var1 < ll Then
ll = var1;
}
if CurrentDate == sDate Then
{
Plot3(hh,"최고");
plot4(ll,"최저");
plot5(ll+(hh-ll)*0.25,"25.0%");
plot6(ll+(hh-ll)*0.382,"38.2%");
plot7(ll+(hh-ll)*0.500,"50.0%");
plot8(ll+(hh-ll)*0.500+0.02,"50+0.02%");
plot9(ll+(hh-ll)*0.618,"61.8%");
plot10(ll+(hh-ll)*0.75,"75.0%");
plot13(ll+(hh-ll)*0.125,"12.5%");
plot14(ll+(hh-ll)*0.875,"87.5%");
plot15(ll+(hh-ll)*0.500+60,"50+60%");
plot16(ll+(hh-ll)*0.500-60,"50-60%");
}
if CurrentDate == sDate Then
{
PlotBaseLine1(0);
PlotBaseLine2(100);
PlotBaseLine3(-100);
}
2025-03-18
306
글번호 189282
지표
답변완료
수식요청
수식요청에 주신 답들에 심심한 감사를 드립니다.
오늘은 아래의 두 수식변환이 필요하여 올립니다.
1.20캔들
이동=ma(c,60);
최고1=highest(h,120);
최고2=highest(h,20);
최고2(30)==최고1 &&
crossup(c,이동) &&
v(1)*2.5<=v
2.대박이
A=BBandsUp(17,2);
B=BBandsUp(40,2);
M=EnvelopeUp(20,2);
(c>ma(h,5) and Crossup(A,M)) or
(c>ma(h,5) and B>M and Crossup(A,B))
or (A>B and B>M and Crossup(C,A))
or (Crossup(C,A)) and Crossup(C,B) and Crossup(C,M))
2025-03-18
326
글번호 189280
종목검색