예스스탁
예스스탁 답변
2024-12-17 10:26:56
안녕하세요
예스스탁입니다.
Input : af(0.02), maxAF(0.2);
var : T(0),B(0),S(0),tx(0),txx(0),HH(0),LL(0),box(0),B1(0),S1(0),B2(0),S2(0),H1(0),L1(0),H2(0),L2(0),TL(0);
var1 = CSar(af,maxAF);
plot1(var1, "CSAR",IFF(c>var1,Red,Blue));
if CrossUp(C,var1) Then
{
T = 1;
B = var1;
B1 = B[1];
B2 = B1[1];
HH = H;
H1 = HH[1];
H2 = H1[1];
Condition1 = False;
if Condition1[1] == true Then
TL_New(sDate,sTime,0,sDate,sTime,99999999);
}
if CrossDown(C,var1) Then
{
T = -1;
S = var1;
S1 = S[1];
S2 = S1[1];
LL = L;
L1 = LL[1];
L2 = L1[1];
Condition1 = False;
if Condition1[1] == true Then
TL_New(sDate,sTime,0,sDate,sTime,99999999);
}
Else
{
if T == 1 Then
{
if H > HH Then
HH = H;
if B1 > 0 and B > B1 and H > H1 and B1 > B2 and H1 > H2 and Condition1 == False Then
{
Condition1 = true;
txx = Text_New(sdate,sTime,HH+0.1,"●");
Text_SetStyle(txx,2,2);
Text_SetColor(txx,Green);
Text_SetSize(txx,20);
}
}
if T == -1 Then
{
if L < LL Then
LL = L;
if S1 > 0 and S < S1 and L < L1 and S1 < S2 and L1 < L2 and Condition1 == False Then
{
Condition1 = true;
txx = Text_New(sdate,sTime,LL-0.1,"●");
Text_SetStyle(txx,2,2);
Text_SetColor(txx,Magenta);
Text_SetSize(txx,20);
}
}
}
즐거운 하루되세요
> 고성 님이 쓴 글입니다.
> 제목 : 추세 3파 전환
>
Input : af(0.02), maxAF(0.2);
var : T(0),B(0),S(0),tx(0),txx(0),HH(0),LL(0),box(0),B1(0),S1(0),B2(0),S2(0),H1(0),L1(0),H2(0),L2(0),TL(0);
var1 = CSar(af,maxAF);
plot1(var1, "CSAR",IFF(c>var1,Red,Blue));
if CrossUp(C,var1) Then
{
T = 1;
B = var1;
B1 = B[1];
B2 = B1[1];
HH = H;
H1 = HH[1];
H2 = H1[1];
Condition1 = False;
}
if CrossDown(C,var1) Then
{
T = -1;
S = var1;
S1 = S[1];
S2 = S1[1];
LL = L;
L1 = LL[1];
L2 = L1[1];
Condition1 = False;
}
Else
{
if T == 1 Then
{
if H > HH Then
HH = H;
if B1 > 0 and B > B1 and H > H1 and B1 > B2 and H1 > H2 and Condition1 == False Then
{
Condition1 = true;
txx = Text_New(sdate,sTime,HH+0.1,"●");
Text_SetStyle(txx,2,2);
Text_SetColor(txx,Green);
Text_SetSize(txx,20);
}
}
if T == -1 Then
{
if L < LL Then
LL = L;
if S1 > 0 and S < S1 and L < L1 and S1 < S2 and L1 < L2 and Condition1 == False Then
{
Condition1 = true;
txx = Text_New(sdate,sTime,LL-0.1,"●");
Text_SetStyle(txx,2,2);
Text_SetColor(txx,Magenta);
Text_SetSize(txx,20);
}
}
}
수식 중에 동그라미 표시되는 수식이 3파입니다.
동그라미 표시 직후 양전환되거나 음전환되면 세로선. 감사합니다.