예스스탁
예스스탁 답변
2025-04-07 11:07:18
안녕하세요
예스스탁입니다.
input : Price1(1.2),Price2(2.5),Price3(3.0);
var : cond2(False,Data2);
var : cond4(False,Data4);
var : cond6(False,Data6);
var : cond8(False,Data8);
cond2 = CrossUp(data2(HighD(0)),data3(HighD(0))) or
CrossDown(data2(LowD(0)),data3(LowD(0))) or
CrossUp(data3(HighD(0)),data2(HighD(0))) or
CrossDown(data3(LowD(0)),data2(LowD(0)));
cond4 = CrossUp(data4(HighD(0)),data5(HighD(0))) or
CrossDown(data4(LowD(0)),data5(LowD(0))) or
CrossUp(data5(HighD(0)),data4(HighD(0))) or
CrossDown(data5(LowD(0)),data4(LowD(0)));
cond6 = CrossUp(data6(HighD(0)),data7(HighD(0))) or
CrossDown(data6(LowD(0)),data7(LowD(0))) or
CrossUp(data7(HighD(0)),data6(HighD(0))) or
CrossDown(data7(LowD(0)),data6(LowD(0)));
cond8 = CrossUp(data8(HighD(0)),data9(HighD(0))) or
CrossDown(data8(LowD(0)),data9(LowD(0))) or
CrossUp(data9(HighD(0)),data8(HighD(0))) or
CrossDown(data9(LowD(0)),data8(LowD(0)));
if cond2 == true Then
var2 = Data1(c);
if cond4 == true Then
var4 = Data1(c);
if cond6 == true Then
var6 = Data1(c);
if cond8 == true Then
var8 = Data1(c);
if CurrentDate == sdate Then
{
if var2 > 0 Then
Plot1(var2,"d2");
if var4 > 0 Then
Plot2(var4,"d4");
if var6 > 0 Then
Plot3(var6,"d6");
if var8 > 0 Then
Plot4(var8,"d8");
}
즐거운 하루되세요
> qha71 님이 쓴 글입니다.
> 제목 : 수식 수정 의뢰 드립니다.
> 안녕하세요!
아래 만들어 주신 수식을 당일에만 나타나도록 수정을 부탁 드립니다.
input : Price1(1.2),Price2(2.5),Price3(3.0);
var : cond2(False,Data2);
var : cond4(False,Data4);
var : cond6(False,Data6);
var : cond8(False,Data8);
cond2 = CrossUp(data2(HighD(0)),data3(HighD(0))) or
CrossDown(data2(LowD(0)),data3(LowD(0))) or
CrossUp(data3(HighD(0)),data2(HighD(0))) or
CrossDown(data3(LowD(0)),data2(LowD(0)));
cond4 = CrossUp(data4(HighD(0)),data5(HighD(0))) or
CrossDown(data4(LowD(0)),data5(LowD(0))) or
CrossUp(data5(HighD(0)),data4(HighD(0))) or
CrossDown(data5(LowD(0)),data4(LowD(0)));
cond6 = CrossUp(data6(HighD(0)),data7(HighD(0))) or
CrossDown(data6(LowD(0)),data7(LowD(0))) or
CrossUp(data7(HighD(0)),data6(HighD(0))) or
CrossDown(data7(LowD(0)),data6(LowD(0)));
cond8 = CrossUp(data8(HighD(0)),data9(HighD(0))) or
CrossDown(data8(LowD(0)),data9(LowD(0))) or
CrossUp(data9(HighD(0)),data8(HighD(0))) or
CrossDown(data9(LowD(0)),data8(LowD(0)));
if cond2 == true Then
var2 = Data1(c);
if cond4 == true Then
var4 = Data1(c);
if cond6 == true Then
var6 = Data1(c);
if cond8 == true Then
var8 = Data1(c);
if var2 > 0 Then
Plot1(var2,"d2");
if var4 > 0 Then
Plot2(var4,"d4");
if var6 > 0 Then
Plot3(var6,"d6");
if var8 > 0 Then
Plot4(var8,"d8");