예스스탁
예스스탁 답변
2025-06-11 10:29:34
안녕하세요
예스스탁입니다.
1
input : short(12),long(26),sig(9),N(10),P(14);
var : osc(0),hh(0),ll(0),R(0);
osc = MACD_OSC(short,long,sig);
hh = highest(osc,N);
ll = lowest(osc,N);
R = RSI(P);
if osc > hh[1] and R <= 20 then
buy();
if osc < ll[1] and R >= 70 then
sell();
2
input : short(12),long(26),sig(9),N(10),P(14);
var : osc(0),hh(0),ll(0),R(0);
osc = MACD_OSC(short,long,sig);
hh = highest(osc,N);
ll = lowest(osc,N);
R = RSI(P);
if osc > hh[1] and R <= 20 then
PlotPaintBar(H,L,"강조",Magenta);
if osc < ll[1] and R >= 70 then
PlotPaintBar(H,L,"강조",Cyan);
즐거운 하루되세요
> 부기곰 님이 쓴 글입니다.
> 제목 : MACD 히스토그램 + RSI 요청
>
안녕하세요, 추가로 이 수식에
RSI 20 이하일 시 매수, RSI 70이상일 시 매도 수식을 추가해주실 수 있으실까요?
> 예스스탁 님이 쓴 글입니다.
> 제목 : Re : macd 히스토그램
>
안녕하세요
예스스탁입니다.
1. 시스템
input : short(12),long(26),sig(9),N(10);
var : osc(0),hh(0),ll(0);
osc = MACD_OSC(short,long,sig);
hh = highest(osc,N);
ll = lowest(osc,N);
if osc > hh[1] then
buy();
if osc < ll[1] then
sell();
2 강조
input : short(12),long(26),sig(9),N(10);
var : osc(0),hh(0),ll(0);
osc = MACD_OSC(short,long,sig);
hh = highest(osc,N);
ll = lowest(osc,N);
if osc > hh[1] then
PlotPaintBar(H,L,"강조",Magenta);
if osc < ll[1] then
PlotPaintBar(H,L,"강조",Cyan);
즐거운 하루되세요
> 부기곰 님이 쓴 글입니다.
> 제목 : macd 히스토그램
> 최근 10거래일 동안의 macd 히스토그램 막대차트의 max와 min을 구하여
진입, 청산하는 전략을 구현하고 싶습니다.
1. max, min을 화살표 혹은 바 색상을 다르게 표시하는법
2. max, min을 구하여 진입, 청산하는 수식
2가지 알려주시면 감사하겠습니다.