커뮤니티
수식변경요청
2018-09-17 10:49:09
199
글번호 122086
안녕하세요.
아래 수식은 당일것만 표시되는데 과거부터
나올수 있게 해주시고,
1, plot1(StMomentum1);
plot2(StMomentum2);
교차시 시스템으로 부탁드립니다.
input : Period1(13),Period2(25),Period3(2),Length1(26),Length2(50),Length3(2);
var : StMomentum1(0),StMomentum2(0);
StMomentum1 = SMI(Period1,Period2,Period3);
StMomentum2 = SMI(Length1,Length2,Length3);
if CurrentDate == sdate then{
plot1(StMomentum1);
plot2(StMomentum2);
PlotBaseLine1(50,"과열");
PlotBaseLine2(-50,"침체");
PlotBaseLine3(0,"기준");
}
답변 1
예스스탁 예스스탁 답변
2018-09-17 13:33:15
안녕하세요
예스스탁입니다.
1
input : Period1(13),Period2(25),Period3(2),Length1(26),Length2(50),Length3(2);
var : StMomentum1(0),StMomentum2(0);
StMomentum1 = SMI(Period1,Period2,Period3);
StMomentum2 = SMI(Length1,Length2,Length3);
if crossup(StMomentum1,StMomentum2) Then
buy();
if CrossDown(StMomentum1,StMomentum2) Then
sell();
2
input : Period1(13),Period2(25),Period3(2),Length1(26),Length2(50),Length3(2);
var : StMomentum1(0),StMomentum2(0);
StMomentum1 = SMI(Period1,Period2,Period3);
StMomentum2 = SMI(Length1,Length2,Length3);
plot1(StMomentum1);
plot2(StMomentum2);
PlotBaseLine1(50,"과열");
PlotBaseLine2(-50,"침체");
PlotBaseLine3(0,"기준");
즐거운 하루되세요
> 뚜벅뚜벅 님이 쓴 글입니다.
> 제목 : 수식변경요청
> 안녕하세요.
아래 수식은 당일것만 표시되는데 과거부터
나올수 있게 해주시고,
1, plot1(StMomentum1);
plot2(StMomentum2);
교차시 시스템으로 부탁드립니다.
input : Period1(13),Period2(25),Period3(2),Length1(26),Length2(50),Length3(2);
var : StMomentum1(0),StMomentum2(0);
StMomentum1 = SMI(Period1,Period2,Period3);
StMomentum2 = SMI(Length1,Length2,Length3);
if CurrentDate == sdate then{
plot1(StMomentum1);
plot2(StMomentum2);
PlotBaseLine1(50,"과열");
PlotBaseLine2(-50,"침체");
PlotBaseLine3(0,"기준");
}
다음글
이전글