예스스탁
예스스탁 답변
2022-05-20 13:22:10
안녕하세요
예스스탁입니다.
소리출력함수(playsound)는 함수내에 지정한 경로의 wav파일이 구동됩니다.
아래는 예스트레이더에 기본으로 제공되는 wav파일을 지정했습니다.
원하시는 wav파일의 경로와 이름으로 수정하시기 바랍니다.
게시판에서 식을 복사할 경우 경로명 중 ₩의 폰트가 깨질수 있으므로
₩는 다시 타이핑하시기 바랍니다.
var : xClose(0),xOpen(0),xHigh(0),xLow(0);
var : T(0),HH(0),HH1(0),LL(0),LL1(0);
#Heiken Ashi 시고저종
if index == 0 then
{
xOpen = open;
xClose = (O+H+L+C)/4;
xHigh = MaxList( high, xOpen, xClose);
xLow = MinList( low, xOpen,xClose);
}
else
{
xClose = (O+H+L+C)/4;
xOpen = (xOpen [1] + xClose [1])/2 ;
xHigh = MaxList(High, xOpen, xClose) ;
xLow = MinList(Low, xOpen, xClose) ;
}
if XClose > Xopen Then
{
PlotPaintBar(Xhigh,Xlow,"강조",MAGENTA);
T = 1;
}
else if XClose < Xopen Then
{
PlotPaintBar(Xhigh,Xlow,"강조",CYAN);
T = -1;
}
else
{
T = 0;
PlotPaintBar(Xhigh,Xlow,"강조",GREEN);
}
if T == 1 Then
{
if T != T[1] Then
{
LL = xLow;
LL1 = LL[1];
if LL1 > 0 and abs(LL-LL1) <= PriceScale*1 Then
PlaySound("C:₩예스트레이더₩data₩Sound₩alert.wav");
}
Else
{
if LL > 0 and xLow < LL Then
{
LL = Xlow;
if LL1 > 0 and abs(LL-LL1) <= PriceScale*1 Then
PlaySound("C:₩예스트레이더₩data₩Sound₩alert.wav");
}
}
}
if T == -1 Then
{
if T != T[1] Then
{
HH = xLow;
HH1 = HH[1];
if HH1 > 0 and abs(HH-HH1) <= PriceScale*1 Then
PlaySound("C:₩예스트레이더₩data₩Sound₩alert.wav");
}
Else
{
if HH > 0 and xhigh > HH Then
{
HH = Xhigh;
if HH1 > 0 and abs(HH-HH1) <= PriceScale*1 Then
PlaySound("C:₩예스트레이더₩data₩Sound₩alert.wav");
}
}
}
즐거운 하루되세요
> 고성 님이 쓴 글입니다.
> 제목 : heikin ashi 강조식에서 쌍바닥 쌍봉
> var : xClose(0),xOpen(0),xHigh(0),xLow(0);
#Heiken Ashi 시고저종
if index == 0 then
{
xOpen = open;
xClose = (O+H+L+C)/4;
xHigh = MaxList( high, xOpen, xClose);
xLow = MinList( low, xOpen,xClose);
}
else
{
xClose = (O+H+L+C)/4;
xOpen = (xOpen [1] + xClose [1])/2 ;
xHigh = MaxList(High, xOpen, xClose) ;
xLow = MinList(Low, xOpen, xClose) ;
}
if XClose > Xopen Then
PlotPaintBar(Xhigh,Xlow,"강조",MAGENTA);
else if XClose < Xopen Then
PlotPaintBar(Xhigh,Xlow,"강조",CYAN);
else
PlotPaintBar(Xhigh,Xlow,"강조",GREEN);
상승전환강조 생기고 하락전환한후 다시 새로운 상승강조가 생길때 직전 상승강조 저가와 새 상승강조 저가를 비교하여(엄밀히 따지면 직전 하락강조 최저가와 다음 하락강조 최저가 비교) -1틱 or 같거나, +1틱으로 강조식 쌍바닥이 될때 알람소리,
반대로 쌍봉일때도 알람소리나게 부탁합니다.
> 예스스탁 님이 쓴 글입니다.
> 제목 : Re : heikin ashi 강조식에서 쌍바닥 쌍봉
>
안녕하세요
예스스탁입니다.
소리출력함수(playsound)는 함수내에 지정한 경로의 wav파일이 구동됩니다.
아래는 예스트레이더에 기본으로 제공되는 wav파일을 지정했습니다.
원하시는 wav파일의 경로와 이름으로 수정하시기 바랍니다.
게시판에서 식을 복사할 경우 경로명 중 ₩의 폰트가 깨질수 있으므로
₩는 다시 타이핑하시기 바랍니다.
var : xClose(0),xOpen(0),xHigh(0),xLow(0);
var : T(0),HH(0),HH1(0),LL(0),LL1(0);
#Heiken Ashi 시고저종
if index == 0 then
{
xOpen = open;
xClose = (O+H+L+C)/4;
xHigh = MaxList( high, xOpen, xClose);
xLow = MinList( low, xOpen,xClose);
}
else
{
xClose = (O+H+L+C)/4;
xOpen = (xOpen [1] + xClose [1])/2 ;
xHigh = MaxList(High, xOpen, xClose) ;
xLow = MinList(Low, xOpen, xClose) ;
}
if XClose > Xopen Then
{
PlotPaintBar(Xhigh,Xlow,"강조",MAGENTA);
T = 1;
}
else if XClose < Xopen Then
{
PlotPaintBar(Xhigh,Xlow,"강조",CYAN);
T = -1;
}
else
{
T = 0;
PlotPaintBar(Xhigh,Xlow,"강조",GREEN);
}
if T == 1 Then
{
if T != T[1] Then
{
LL = xLow;
LL1 = LL[1];
if LL1 > 0 and abs(LL-LL1) <= PriceScale*1 Then
PlaySound("C:₩예스트레이더₩data₩Sound₩alert.wav");
}
Else
{
if LL > 0 and xLow < LL Then
{
LL = Xlow;
if LL1 > 0 and abs(LL-LL1) <= PriceScale*1 Then
PlaySound("C:₩예스트레이더₩data₩Sound₩alert.wav");
}
}
}
if T == -1 Then
{
if T != T[1] Then
{
HH = xLow;
HH1 = HH[1];
if HH1 > 0 and abs(HH-HH1) <= PriceScale*1 Then
PlaySound("C:₩예스트레이더₩data₩Sound₩alert.wav");
}
Else
{
if HH > 0 and xhigh > HH Then
{
HH = Xhigh;
if HH1 > 0 and abs(HH-HH1) <= PriceScale*1 Then
PlaySound("C:₩예스트레이더₩data₩Sound₩alert.wav");
}
}
}
즐거운 하루되세요
> 고성 님이 쓴 글입니다.
> 제목 : heikin ashi 강조식에서 쌍바닥 쌍봉
> var : xClose(0),xOpen(0),xHigh(0),xLow(0);
#Heiken Ashi 시고저종
if index == 0 then
{
xOpen = open;
xClose = (O+H+L+C)/4;
xHigh = MaxList( high, xOpen, xClose);
xLow = MinList( low, xOpen,xClose);
}
else
{
xClose = (O+H+L+C)/4;
xOpen = (xOpen [1] + xClose [1])/2 ;
xHigh = MaxList(High, xOpen, xClose) ;
xLow = MinList(Low, xOpen, xClose) ;
}
if XClose > Xopen Then
PlotPaintBar(Xhigh,Xlow,"강조",MAGENTA);
else if XClose < Xopen Then
PlotPaintBar(Xhigh,Xlow,"강조",CYAN);
else
PlotPaintBar(Xhigh,Xlow,"강조",GREEN);
상승전환강조 생기고 하락전환한후 다시 새로운 상승강조가 생길때 직전 상승강조 저가와 새 상승강조 저가를 비교하여(엄밀히 따지면 직전 하락강조 최저가와 다음 하락강조 최저가 비교) -1틱 or 같거나, +1틱으로 강조식 쌍바닥이 될때 알람소리,
반대로 쌍봉일때도 알람소리나게 부탁합니다.
[plotpaintbar는 paintbar에서만 쓸수 있다고 에러 나오네요]
예스스탁
예스스탁 답변
2022-05-20 14:14:33
안녕하세요
예스스탁입니다.
문의하신 내용은 알람소리 추가입니다.
올리신 수식이 강조식이며 해당 식에 소리출력 수식만 추가한 내용입니다.
즐거운 하루되세요
> 고성 님이 쓴 글입니다.
> 제목 : Re : Re : heikin ashi 강조식에서 쌍바닥 쌍봉
>
> 예스스탁 님이 쓴 글입니다.
> 제목 : Re : heikin ashi 강조식에서 쌍바닥 쌍봉
>
안녕하세요
예스스탁입니다.
소리출력함수(playsound)는 함수내에 지정한 경로의 wav파일이 구동됩니다.
아래는 예스트레이더에 기본으로 제공되는 wav파일을 지정했습니다.
원하시는 wav파일의 경로와 이름으로 수정하시기 바랍니다.
게시판에서 식을 복사할 경우 경로명 중 ₩의 폰트가 깨질수 있으므로
₩는 다시 타이핑하시기 바랍니다.
var : xClose(0),xOpen(0),xHigh(0),xLow(0);
var : T(0),HH(0),HH1(0),LL(0),LL1(0);
#Heiken Ashi 시고저종
if index == 0 then
{
xOpen = open;
xClose = (O+H+L+C)/4;
xHigh = MaxList( high, xOpen, xClose);
xLow = MinList( low, xOpen,xClose);
}
else
{
xClose = (O+H+L+C)/4;
xOpen = (xOpen [1] + xClose [1])/2 ;
xHigh = MaxList(High, xOpen, xClose) ;
xLow = MinList(Low, xOpen, xClose) ;
}
if XClose > Xopen Then
{
PlotPaintBar(Xhigh,Xlow,"강조",MAGENTA);
T = 1;
}
else if XClose < Xopen Then
{
PlotPaintBar(Xhigh,Xlow,"강조",CYAN);
T = -1;
}
else
{
T = 0;
PlotPaintBar(Xhigh,Xlow,"강조",GREEN);
}
if T == 1 Then
{
if T != T[1] Then
{
LL = xLow;
LL1 = LL[1];
if LL1 > 0 and abs(LL-LL1) <= PriceScale*1 Then
PlaySound("C:₩예스트레이더₩data₩Sound₩alert.wav");
}
Else
{
if LL > 0 and xLow < LL Then
{
LL = Xlow;
if LL1 > 0 and abs(LL-LL1) <= PriceScale*1 Then
PlaySound("C:₩예스트레이더₩data₩Sound₩alert.wav");
}
}
}
if T == -1 Then
{
if T != T[1] Then
{
HH = xLow;
HH1 = HH[1];
if HH1 > 0 and abs(HH-HH1) <= PriceScale*1 Then
PlaySound("C:₩예스트레이더₩data₩Sound₩alert.wav");
}
Else
{
if HH > 0 and xhigh > HH Then
{
HH = Xhigh;
if HH1 > 0 and abs(HH-HH1) <= PriceScale*1 Then
PlaySound("C:₩예스트레이더₩data₩Sound₩alert.wav");
}
}
}
즐거운 하루되세요
> 고성 님이 쓴 글입니다.
> 제목 : heikin ashi 강조식에서 쌍바닥 쌍봉
> var : xClose(0),xOpen(0),xHigh(0),xLow(0);
#Heiken Ashi 시고저종
if index == 0 then
{
xOpen = open;
xClose = (O+H+L+C)/4;
xHigh = MaxList( high, xOpen, xClose);
xLow = MinList( low, xOpen,xClose);
}
else
{
xClose = (O+H+L+C)/4;
xOpen = (xOpen [1] + xClose [1])/2 ;
xHigh = MaxList(High, xOpen, xClose) ;
xLow = MinList(Low, xOpen, xClose) ;
}
if XClose > Xopen Then
PlotPaintBar(Xhigh,Xlow,"강조",MAGENTA);
else if XClose < Xopen Then
PlotPaintBar(Xhigh,Xlow,"강조",CYAN);
else
PlotPaintBar(Xhigh,Xlow,"강조",GREEN);
상승전환강조 생기고 하락전환한후 다시 새로운 상승강조가 생길때 직전 상승강조 저가와 새 상승강조 저가를 비교하여(엄밀히 따지면 직전 하락강조 최저가와 다음 하락강조 최저가 비교) -1틱 or 같거나, +1틱으로 강조식 쌍바닥이 될때 알람소리,
반대로 쌍봉일때도 알람소리나게 부탁합니다.
[plotpaintbar는 paintbar에서만 쓸수 있다고 에러 나오네요]