Input : Period(5), Period1(5), Period2(5),N(5);
value1 = StochasticsK(Period,Period1);
value2 = StochasticsD(Period,Period1,Period2);
if crossup(value1,value2) Then
var1 = value1;
if value1 > value2 and value1 > var1 Then
var1 = value1;
if CrossDown(value1,value2) Then
var2 = value1;
if value1 < value2 and value1 < var2 Then
var2 = value1;
plot1(var1,"점1");
plot2(var2,"점2");
........................................................
윗지표를 데이타2로 가공 하고 싶습니다.
부탁 드립니다.
감사합니다.
답변 1
예스스탁
예스스탁 답변
2020-09-23 19:44:54
안녕하세요
예스스탁입니다.
Input : Period(5), Period1(5), Period2(5),N(5);
var : stok(0,Data2),stod(0,Data2),V1(0,Data2),V2(0,Data2);
stok = data2(StochasticsK(Period,Period1));
stod = data2(StochasticsD(Period,Period1,Period2));
if crossup(stok,stod) Then
v1 = stok;
if stok > stod and stok > v1 Then
v1 = stok;
if CrossDown(stok,stod) Then
v2 = stok;
if stok < stod and stok < v2 Then
v2 = stok;
plot1(v1,"점1");
plot2(v2,"점2");
즐거운 하루되세요
> zmfha 님이 쓴 글입니다.
> 제목 : 문의 드립니다.
> Input : Period(5), Period1(5), Period2(5),N(5);
value1 = StochasticsK(Period,Period1);
value2 = StochasticsD(Period,Period1,Period2);
if crossup(value1,value2) Then
var1 = value1;
if value1 > value2 and value1 > var1 Then
var1 = value1;
if CrossDown(value1,value2) Then
var2 = value1;
if value1 < value2 and value1 < var2 Then
var2 = value1;
plot1(var1,"점1");
plot2(var2,"점2");
........................................................
윗지표를 데이타2로 가공 하고 싶습니다.
부탁 드립니다.
감사합니다.