커뮤니티
부탁드립니다!!!
2019-04-25 13:19:25
189
글번호 128114
안녕하세요!!
수고스럽지만 아래지표에서 조건만족시 그때마다 모두 음성신호가 발생되도록 부탁드립니다
감사합니다!
input:shortperiod(12),Longperiod(26);
var : MACDV(0);
MACDV = macd(shortperiod,Longperiod);
if nthhighest(1,MACDV,100) > //조건1
nthhighest(2,MACDV,100) and //조건2
MACDV> MACDV[1] and //조건3
(L < Lowest(L,40)[1] || L[1] < Lowest(L,40)[2]) then //조건4
plot1(L-(pricescale*2),"저↗상승div",yellow);
if NthLowest(1,MACDV,100) < //조건1
NthLowest(2,MACDV,100) and //조건2
MACDV < MACDV[1] and //조건3
(H > Highest(H,40)[1] || H[1] > Highest(H,40)[2]) then //조건4
plot2(H+(pricescale*2),"고↘하락div",blue);
답변 1
예스스탁 예스스탁 답변
2019-04-25 13:20:28
안녕하세요
예스스탁입니다.
PlaySound함수에 경로와 파일명 지정하시면 됩니다.
input:shortperiod(12),Longperiod(26);
var : MACDV(0);
MACDV = macd(shortperiod,Longperiod);
if nthhighest(1,MACDV,100) > //조건1
nthhighest(2,MACDV,100) and //조건2
MACDV> MACDV[1] and //조건3
(L < Lowest(L,40)[1] || L[1] < Lowest(L,40)[2]) then//조건4
{
plot1(L-(pricescale*2),"저↗상승div",yellow);
PlaySound("");
}
if NthLowest(1,MACDV,100) < //조건1
NthLowest(2,MACDV,100) and //조건2
MACDV < MACDV[1] and //조건3
(H > Highest(H,40)[1] || H[1] > Highest(H,40)[2]) then //조건4
{
plot2(H+(pricescale*2),"고↘하락div",blue);
PlaySound("");
}
즐거운 하루되세요
> 유로파54 님이 쓴 글입니다.
> 제목 : 부탁드립니다!!!
> 안녕하세요!!
수고스럽지만 아래지표에서 조건만족시 그때마다 모두 음성신호가 발생되도록 부탁드립니다
감사합니다!
input:shortperiod(12),Longperiod(26);
var : MACDV(0);
MACDV = macd(shortperiod,Longperiod);
if nthhighest(1,MACDV,100) > //조건1
nthhighest(2,MACDV,100) and //조건2
MACDV> MACDV[1] and //조건3
(L < Lowest(L,40)[1] || L[1] < Lowest(L,40)[2]) then //조건4
plot1(L-(pricescale*2),"저↗상승div",yellow);
if NthLowest(1,MACDV,100) < //조건1
NthLowest(2,MACDV,100) and //조건2
MACDV < MACDV[1] and //조건3
(H > Highest(H,40)[1] || H[1] > Highest(H,40)[2]) then //조건4
plot2(H+(pricescale*2),"고↘하락div",blue);
다음글
이전글