커뮤니티
수식의뢰 드려요
2016-09-30 12:40:33
115
글번호 102385
아! 너무 죄송합니다!
제가 수식을 쳐놓고도 빼먹고 올렸네요!
쐐기형 수식입니다 >
prd 10
cond=h>h(5) and l>l(5) and avg(c,5)>avg(c,20);
VALUEWHEN(1,cond,avg(c,prd))
2
cond=hVALUEWHEN(1,cond,avg(c,10))
스캘핑 수식도 잘못 올렸네요!
스캘핑>
If (close - close(1))/ close(1) * 100 > 0.15 then
call buy("buy", Atmarket)
End If
If (close - close(1))/ close(1) * 100 < -0.15 then
call sell("sell", Atmarket)
End If
힘들게 해드려 죄송합니다1
답변 1
예스스탁 예스스탁 답변
2016-09-30 13:41:43
안녕하세요
예스스탁입니다.
1.
input : prd(10);
var : cond(false);
cond = h>h[5] and l>l[5] and ma(c,5) > ma(c,20);
var1 = ma(C,Prd);
if cond == true Then
var1 = ma(C,prd);
plot1(var1);
2
If (close - close[1])/ close[1] * 100 > 0.15 then
buy("buy", Atmarket);
If (close - close[1])/ close[1] * 100 < -0.15 then
sell("sell", Atmarket);
즐거운 하루되세요
> qha71 님이 쓴 글입니다.
> 제목 : 수식의뢰 드려요
> 아! 너무 죄송합니다!
제가 수식을 쳐놓고도 빼먹고 올렸네요!
쐐기형 수식입니다 >
prd 10
cond=h>h(5) and l>l(5) and avg(c,5)>avg(c,20);
VALUEWHEN(1,cond,avg(c,prd))
2
cond=hVALUEWHEN(1,cond,avg(c,10))
스캘핑 수식도 잘못 올렸네요!
스캘핑>
If (close - close(1))/ close(1) * 100 > 0.15 then
call buy("buy", Atmarket)
End If
If (close - close(1))/ close(1) * 100 < -0.15 then
call sell("sell", Atmarket)
End If
힘들게 해드려 죄송합니다1
다음글
이전글