커뮤니티
수식수정부탁입니다
2019-09-23 21:32:48
186
글번호 132156
#,안녕하세요
$,아래수식은 지정가 터치시 신호발생하는 시스템식입니다, 이 수식을 지정가 터치시 경보음
발생하는 지표식으로 수정하고 싶습니다,
'도움부탁드립니다.
input : BuyPrice(52.11),SellPrice(53.36);
if MarketPosition <= 0 then
{
if NextBarOpen <= BuyPrice Then
buy("b1",AtStop,BuyPrice);
Else
buy("b2",AtLimit,BuyPrice);
}
if MarketPosition >= 0 then
{
if NextBarOpen >= SellPrice Then
sell("s1",AtStop,SellPrice);
Else
sell("s2",AtLimit,SellPrice);
}
$$,언제나 늘 고맙습니다.
답변 1
예스스탁 예스스탁 답변
2019-09-24 14:37:30
안녕하세요
예스스탁입니다.
소리출력함수(playsound)는 함수내에 지정한 경로의 wav파일이 구동됩니다.
아래는 예스트레이더에 기본으로 제공되는 wav파일을 지정했습니다.
원하시는 wav파일의 경로와 이름으로 수정하시기 바랍니다.
게시판에서 식을 복사할 경우 경로명 중 ₩의 폰트가 깨질수 있으므로
₩는 다시 타이핑하시기 바랍
input : BuyPrice(52.11),SellPrice(53.36);
plot1(buyPrice);
plot2(SellPrice);
if open <= BuyPrice and H >= buyprice
PlaySound("C:₩예스트레이더₩data₩Sound₩alert.wav");
if open >= SellPrice and L <= SellPrice Then
PlaySound("C:₩예스트레이더₩data₩Sound₩alert.wav");
즐거운 하루되세요
> 골든키 님이 쓴 글입니다.
> 제목 : 수식수정부탁입니다
> #,안녕하세요
$,아래수식은 지정가 터치시 신호발생하는 시스템식입니다, 이 수식을 지정가 터치시 경보음
발생하는 지표식으로 수정하고 싶습니다,
'도움부탁드립니다.
input : BuyPrice(52.11),SellPrice(53.36);
if MarketPosition <= 0 then
{
if NextBarOpen <= BuyPrice Then
buy("b1",AtStop,BuyPrice);
Else
buy("b2",AtLimit,BuyPrice);
}
if MarketPosition >= 0 then
{
if NextBarOpen >= SellPrice Then
sell("s1",AtStop,SellPrice);
Else
sell("s2",AtLimit,SellPrice);
}
$$,언제나 늘 고맙습니다.
다음글
이전글