커뮤니티
수고 부탁 드립니다
2019-08-15 23:00:44
187
글번호 131176
Input : P1(10),P2(11),P3(12),P4(13),P5(14),P6(15),P7(16),P8(17),P9(18),P10(19),P11(20),P12(21),P13(22),P14(23),P15(24);
if ema(c,p1)>ema(c,p1)[1] Then
Plot1(Ema(C,P1), "이동평균1",rgb(242,115,60));
Else
Plot1(Ema(C,P1), "이동평균1",rgb(119,108,217));
if ema(c,p2)>ema(c,p2)[1] Then
Plot2(Ema(C,P2), "이동평균2",rgb(242,115,60));
Else
Plot2(Ema(C,P2), "이동평균2",rgb(119,108,217));
if ema(c,p3)>ema(c,p3)[1] Then
Plot3(Ema(C,P3), "이동평균3",rgb(242,115,60));
Else
Plot3(Ema(C,P3), "이동평균3",rgb(119,108,217));
if ema(c,p4)>ema(c,p4)[1] Then
Plot4(Ema(C,P4), "이동평균4",rgb(242,115,60));
Else
Plot4(Ema(C,P4), "이동평균4",rgb(119,108,217));
if ema(c,p5)>ema(c,p5)[1] Then
Plot5(Ema(C,P5), "이동평균5",rgb(242,115,60));
Else
Plot5(Ema(C,P5), "이동평균5",rgb(119,108,217));
if ema(c,p6)>ema(c,p6)[1] Then
Plot6(Ema(C,P6), "이동평균6",rgb(242,115,60));
Else
Plot6(Ema(C,P6), "이동평균6",rgb(119,108,217));
if ema(c,p7)>ema(c,p7)[1] Then
Plot7(Ema(C,P7), "이동평균7",rgb(242,115,60));
Else
Plot7(Ema(C,P7), "이동평균7",rgb(119,108,217));
if ema(c,p8)>ema(c,p8)[1] Then
Plot8(Ema(C,P8), "이동평균8",rgb(242,115,60));
Else
Plot8(Ema(C,P8), "이동평균8",rgb(119,108,217));
if ema(c,p9)>ema(c,p9)[1] Then
Plot9(Ema(C,P9), "이동평균9",rgb(242,115,60));
Else
Plot9(Ema(C,P9), "이동평균9",rgb(119,108,217));
if ema(c,p10)>ema(c,p10)[1] Then
Plot10(Ema(C,P10), "이동평균10",rgb(242,115,60));
Else
Plot10(Ema(C,P10), "이동평균10",rgb(119,108,217));
if ema(c,p11)>ema(c,p11)[1] Then
Plot11(Ema(C,P11), "이동평균11",rgb(242,115,60));
Else
Plot11(Ema(C,P11), "이동평균11",rgb(119,108,217));
if ema(c,p12)>ema(c,p12)[1] Then
Plot12(Ema(C,P12), "이동평균12",rgb(242,115,60));
Else
Plot12(Ema(C,P12), "이동평균12",rgb(119,108,217));
if ema(c,p13)>ema(c,p13)[1] Then
Plot13(Ema(C,P13), "이동평균13",rgb(242,115,60));
Else
Plot13(Ema(C,P13), "이동평균13",rgb(119,108,217));
if ema(c,p14)>ema(c,p14)[1] Then
Plot14(Ema(C,P14), "이동평균14",rgb(242,115,60));
Else
Plot14(Ema(C,P14), "이동평균14",rgb(119,108,217));
if ema(c,p15)>ema(c,p15)[1] Then
Plot15(Ema(C,P15), "이동평균15",rgb(242,115,60));
Else
Plot15(Ema(C,P15), "이동평균15",rgb(119,108,217));
위 수식에서 파란색에서 붉은 색으로 변환 될 때의 첫 양봉이 발생하면 검색이 될 수 있는
로직좀 부탁 드리겠습니다.
답변 1
예스스탁 예스스탁 답변
2019-08-16 14:54:29
안녕하세요
예스스탁입니다.
Input : P1(10),P2(11),P3(12),P4(13),P5(14),P6(15),P7(16),P8(17),P9(18),P10(19),P11(20),P12(21),P13(22),P14(23),P15(24);
var1 = 0;
if ema(c,p1)>ema(c,p1)[1] Then
var1 = var1+1;
if ema(c,p2)>ema(c,p2)[1] Then
var1 = var1+1;
if ema(c,p3)>ema(c,p3)[1] Then
var1 = var1+1;
if ema(c,p4)>ema(c,p4)[1] Then
var1 = var1+1;
if ema(c,p5)>ema(c,p5)[1] Then
var1 = var1+1;
if ema(c,p6)>ema(c,p6)[1] Then
var1 = var1+1;
if ema(c,p7)>ema(c,p7)[1] Then
var1 = var1+1;
if ema(c,p8)>ema(c,p8)[1] Then
var1 = var1+1;
if ema(c,p9)>ema(c,p9)[1] Then
var1 = var1+1;
if ema(c,p10)>ema(c,p10)[1] Then
var1 = var1+1;
if ema(c,p11)>ema(c,p11)[1] Then
var1 = var1+1;
if ema(c,p12)>ema(c,p12)[1] Then
var1 = var1+1;
if ema(c,p13)>ema(c,p13)[1] Then
var1 = var1+1;
if ema(c,p14)>ema(c,p14)[1] Then
var1 = var1+1;
if ema(c,p15)>ema(c,p15)[1] Then
var1 = var1+1;
if var1 == 15 and var1[1] < 15 Then
{
var2 = 0;
Condition1 = true;
}
if var1 < 15 Then
Condition1 = false;
if Condition1 == true then
{
if c > O Then
{
var2 = var2+1;
if var2 == 1 Then
find(1);
}
}
즐거운 하루되세요
> 정규남 님이 쓴 글입니다.
> 제목 : 수고 부탁 드립니다
> Input : P1(10),P2(11),P3(12),P4(13),P5(14),P6(15),P7(16),P8(17),P9(18),P10(19),P11(20),P12(21),P13(22),P14(23),P15(24);
if ema(c,p1)>ema(c,p1)[1] Then
Plot1(Ema(C,P1), "이동평균1",rgb(242,115,60));
Else
Plot1(Ema(C,P1), "이동평균1",rgb(119,108,217));
if ema(c,p2)>ema(c,p2)[1] Then
Plot2(Ema(C,P2), "이동평균2",rgb(242,115,60));
Else
Plot2(Ema(C,P2), "이동평균2",rgb(119,108,217));
if ema(c,p3)>ema(c,p3)[1] Then
Plot3(Ema(C,P3), "이동평균3",rgb(242,115,60));
Else
Plot3(Ema(C,P3), "이동평균3",rgb(119,108,217));
if ema(c,p4)>ema(c,p4)[1] Then
Plot4(Ema(C,P4), "이동평균4",rgb(242,115,60));
Else
Plot4(Ema(C,P4), "이동평균4",rgb(119,108,217));
if ema(c,p5)>ema(c,p5)[1] Then
Plot5(Ema(C,P5), "이동평균5",rgb(242,115,60));
Else
Plot5(Ema(C,P5), "이동평균5",rgb(119,108,217));
if ema(c,p6)>ema(c,p6)[1] Then
Plot6(Ema(C,P6), "이동평균6",rgb(242,115,60));
Else
Plot6(Ema(C,P6), "이동평균6",rgb(119,108,217));
if ema(c,p7)>ema(c,p7)[1] Then
Plot7(Ema(C,P7), "이동평균7",rgb(242,115,60));
Else
Plot7(Ema(C,P7), "이동평균7",rgb(119,108,217));
if ema(c,p8)>ema(c,p8)[1] Then
Plot8(Ema(C,P8), "이동평균8",rgb(242,115,60));
Else
Plot8(Ema(C,P8), "이동평균8",rgb(119,108,217));
if ema(c,p9)>ema(c,p9)[1] Then
Plot9(Ema(C,P9), "이동평균9",rgb(242,115,60));
Else
Plot9(Ema(C,P9), "이동평균9",rgb(119,108,217));
if ema(c,p10)>ema(c,p10)[1] Then
Plot10(Ema(C,P10), "이동평균10",rgb(242,115,60));
Else
Plot10(Ema(C,P10), "이동평균10",rgb(119,108,217));
if ema(c,p11)>ema(c,p11)[1] Then
Plot11(Ema(C,P11), "이동평균11",rgb(242,115,60));
Else
Plot11(Ema(C,P11), "이동평균11",rgb(119,108,217));
if ema(c,p12)>ema(c,p12)[1] Then
Plot12(Ema(C,P12), "이동평균12",rgb(242,115,60));
Else
Plot12(Ema(C,P12), "이동평균12",rgb(119,108,217));
if ema(c,p13)>ema(c,p13)[1] Then
Plot13(Ema(C,P13), "이동평균13",rgb(242,115,60));
Else
Plot13(Ema(C,P13), "이동평균13",rgb(119,108,217));
if ema(c,p14)>ema(c,p14)[1] Then
Plot14(Ema(C,P14), "이동평균14",rgb(242,115,60));
Else
Plot14(Ema(C,P14), "이동평균14",rgb(119,108,217));
if ema(c,p15)>ema(c,p15)[1] Then
Plot15(Ema(C,P15), "이동평균15",rgb(242,115,60));
Else
Plot15(Ema(C,P15), "이동평균15",rgb(119,108,217));
위 수식에서 파란색에서 붉은 색으로 변환 될 때의 첫 양봉이 발생하면 검색이 될 수 있는
로직좀 부탁 드리겠습니다.