커뮤니티
wave 쌍바닥
2026-10-19 10:19:25
49
글번호 233911
1. wt 음선의 직전저점이 -50 이하에서 양전환 된후,
다음 음선이 발생해서 -50 이하로 내려가면 봉 하단에 네모 표시.
(양선이 -50 이상으로 못 올라가고 음선이 발생해도 네모)
이후 양전환되면 네모 삭제. (-50 이하에서 wt 쌍바닥. 저점 폭은 무관)
+50 이상은 반대 (쌍봉)
2. -50 이하에서 wt 쌍바닥이면, 봉 하단에 동그라미.
+50 이상에서 쌍봉이면, 봉 상단에 동그라미. 감사합니다.
input : n1(16);
input : n2(32);
input : obLevel2(50);
input : osLevel2(-50);
var : ap(0),esa(0),d(0),ci(0),tci(0),wt(0);
var : tx(0);
ap = (h+l+c)/3;
esa = ema(ap, n1);
d = ema(abs(ap - esa), n1);
ci = (ap - esa) / (0.015 * d);
tci = ema(ci, n2);
wt = tci;
plot1(wt, "wt",IFf(wt>wt[1],Red,Blue));
plot2(obLevel2,"과매수",Gray);
plot3(osLevel2,"과매도",Gray);
답변 1
예스스탁 예스스탁 답변
2026-10-19 15:06:28
안녕하세요
예스스탁입니다.
최근 음선과 직전음선, 최근양선과 직전 양선을 비교해 표시가 됩니다.
1
input : n1(16);
input : n2(32);
input : obLevel2(50);
input : osLevel2(-50);
var : ap(0),esa(0),d(0),ci(0),tci(0),wt(0);
var : tx(0);
ap = (h+l+c)/3;
esa = ema(ap, n1);
d = ema(abs(ap - esa), n1);
ci = (ap - esa) / (0.015 * d);
tci = ema(ci, n2);
wt = tci;
plot1(wt, "wt",IFf(wt>wt[1],Red,Blue));
plot2(obLevel2,"과매수",Gray);
plot3(osLevel2,"과매도",Gray);
var : t(0),ll(0),ll1(0),hh(0),hh1(0),tx1(0),tx2(0);
if wt > wt[1] Then
t = 1;
Else
t = -1;
if t == -1 Then
{
if t != t[1] Then
{
Condition2 = False;
Text_Delete(tx2);
ll1 = ll[1];
Condition1 = False;
}
ll = wt;
if Condition1 == False and ll < osLevel2 and ll1 < osLevel2 Then
{
Condition1 = true;
tx1 = Text_New(sdate,sTime,L,"■");
Text_SetColor(tx1,red);
Text_SetStyle(tx1,2,0);
}
if Condition1 == true Then
{
Text_SetLocation(tx1,sDate,sTime,L);
}
}
if t == 1 Then
{
if t != t[1] Then
{
Condition1 = False;
Text_Delete(tx1);
hh1 = hh[1];
Condition2 = False;
}
hh = wt;
if Condition2 == False and hh > obLevel2 and hh1 > obLevel2 Then
{
Condition2 = true;
tx2 = Text_New(sdate,sTime,H,"■");
Text_SetColor(tx2,Blue);
Text_SetStyle(tx2,2,1);
}
if Condition2 == true Then
{
Text_SetLocation(tx2,sDate,sTime,H);
}
}
2
input : n1(16);
input : n2(32);
input : obLevel2(50);
input : osLevel2(-50);
var : ap(0),esa(0),d(0),ci(0),tci(0),wt(0);
var : tx(0);
ap = (h+l+c)/3;
esa = ema(ap, n1);
d = ema(abs(ap - esa), n1);
ci = (ap - esa) / (0.015 * d);
tci = ema(ci, n2);
wt = tci;
plot1(wt, "wt",IFf(wt>wt[1],Red,Blue));
plot2(obLevel2,"과매수",Gray);
plot3(osLevel2,"과매도",Gray);
var : t(0),ll(0),ll1(0),hh(0),hh1(0),tx1(0),tx2(0);
if wt > wt[1] Then
t = 1;
Else
t = -1;
if t == -1 Then
{
if t != t[1] Then
{
Condition2 = False;
//Text_Delete(tx2);
ll1 = ll[1];
Condition1 = False;
}
ll = wt;
if Condition1 == False and ll < osLevel2 and ll1 < osLevel2 Then
{
Condition1 = true;
tx1 = Text_New(sdate,sTime,L,"●");
Text_SetColor(tx1,red);
Text_SetStyle(tx1,2,0);
}
if Condition1 == true Then
{
Text_SetLocation(tx1,sDate,sTime,L);
}
}
if t == 1 Then
{
if t != t[1] Then
{
Condition1 = False;
//Text_Delete(tx1);
hh1 = hh[1];
Condition2 = False;
}
hh = wt;
if Condition2 == False and hh > obLevel2 and hh1 > obLevel2 Then
{
Condition2 = true;
tx2 = Text_New(sdate,sTime,H,"●");
Text_SetColor(tx2,Blue);
Text_SetStyle(tx2,2,1);
}
if Condition2 == true Then
{
Text_SetLocation(tx2,sDate,sTime,H);
}
}
즐거운 하루되세요
다음글
이전글