예스스탁
예스스탁 답변
2022-09-07 15:37:40
안녕하세요
예스스탁입니다.
1
input : 익절틱수(160),손절틱수(30);
var1 = ma(C,10);
Var2 = ma(C,1);
Var3 = ma(c,60);
if NextBarSdate != sDate and var1 > Var2 and c > Var3 Then
{
if NextBarOpen > C Then
Buy("b",AtStop,NextBarOpen+PriceScale*-20);
if NextBarOpen < C Then
Buy("bx",AtStop,NextBarOpen-PriceScale*-20);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
var1 = ma(C,5);
Var2 = ma(C,1);
Var3 = ma(c,60);
if NextBarSdate != sDate and var1 > Var2 and c > Var3 Then
{
if NextBarOpen > C Then
Buy("b1",AtStop,NextBarOpen+PriceScale*-20);
if NextBarOpen < C Then
Buy("bx1",AtStop,NextBarOpen-PriceScale*-20);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
var1 = ma(C,4);
Var2 = ma(C,1);
Var3 = ma(c,60);
if NextBarSdate != sDate and var1 > Var2 and c > Var3 Then
{
if NextBarOpen > C Then
Buy("b2",AtStop,NextBarOpen+PriceScale*-20);
if NextBarOpen < C Then
Buy("bx2",AtStop,NextBarOpen-PriceScale*-20);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
var1 = ma(C,1);
Var2 = ma(C,5);
Var3 = ma(c,60);
if NextBarSdate != sDate and var1 > Var2 and c > Var3 Then
{
if NextBarOpen > C Then
Buy("b3",AtStop,NextBarOpen+PriceScale*-20);
if NextBarOpen < C Then
Buy("bx3",AtStop,NextBarOpen-PriceScale*-20);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
2
input : 익절틱수(120),손절틱수(30);
var1 = ma(C,1);
Var2 = ma(C,5);
Var3 = ma(c,60);
if NextBarSdate != sDate and var1 < Var2 and c < Var3 Then
{
if NextBarOpen > C Then
Sell("s",AtStop,NextBarOpen+PriceScale*-18);
if NextBarOpen < C Then
Sell("sx",AtStop,NextBarOpen-PriceScale*-18);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
var1 = ma(C,3);
Var2 = ma(C,7);
Var3 = ma(c,60);
if NextBarSdate != sDate and var1 < Var2 and c < Var3 Then
{
if NextBarOpen > C Then
Sell("s1",AtStop,NextBarOpen+PriceScale*-18);
if NextBarOpen < C Then
Sell("sx1",AtStop,NextBarOpen-PriceScale*-18);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
var1 = ma(C,5);
Var2 = ma(C,10);
Var3 = ma(c,60);
if NextBarSdate != sDate and var1 < Var2 and c < Var3 Then
{
if NextBarOpen > C Then
Sell("s2",AtStop,NextBarOpen+PriceScale*-18);
if NextBarOpen < C Then
Sell("sx2",AtStop,NextBarOpen-PriceScale*-18);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
var1 = ma(C,7);
Var2 = ma(C,1);
Var3 = ma(c,60);
if NextBarSdate != sDate and var1 < Var2 and c < Var3 Then
{
if NextBarOpen > C Then
Sell("s3",AtStop,NextBarOpen+PriceScale*-18);
if NextBarOpen < C Then
Sell("sx3",AtStop,NextBarOpen-PriceScale*-18);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
즐거운 하루되세요
> 푸른 님이 쓴 글입니다.
> 제목 : 문의 드립니다
> input : 익절틱수(160),손절틱수(30);
var1 = ma(C,10);
Var2 = ma(C,1);
if NextBarSdate != sDate and var1 > Var2 Then
{
if NextBarOpen > C Then
Buy("b",AtStop,NextBarOpen+PriceScale*-20);
if NextBarOpen < C Then
Buy("bx",AtStop,NextBarOpen-PriceScale*-20);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
var1 = ma(C,5);
Var2 = ma(C,1);
if NextBarSdate != sDate and var1 > Var2 Then
{
if NextBarOpen > C Then
Buy("b1",AtStop,NextBarOpen+PriceScale*-20);
if NextBarOpen < C Then
Buy("bx1",AtStop,NextBarOpen-PriceScale*-20);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
var1 = ma(C,4);
Var2 = ma(C,1);
if NextBarSdate != sDate and var1 > Var2 Then
{
if NextBarOpen > C Then
Buy("b2",AtStop,NextBarOpen+PriceScale*-20);
if NextBarOpen < C Then
Buy("bx2",AtStop,NextBarOpen-PriceScale*-20);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
var1 = ma(C,1);
Var2 = ma(C,5);
if NextBarSdate != sDate and var1 > Var2 Then
{
if NextBarOpen > C Then
Buy("b3",AtStop,NextBarOpen+PriceScale*-20);
if NextBarOpen < C Then
Buy("bx3",AtStop,NextBarOpen-PriceScale*-20);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
---------------
위 수식어에 60선 아래 진입신호금지를 추가 부탁드립니다.
-------------------------------------------------------------------
input : 익절틱수(120),손절틱수(30);
var1 = ma(C,1);
Var2 = ma(C,5);
if NextBarSdate != sDate and var1 < Var2 Then
{
if NextBarOpen > C Then
Sell("s",AtStop,NextBarOpen+PriceScale*-18);
if NextBarOpen < C Then
Sell("sx",AtStop,NextBarOpen-PriceScale*-18);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
var1 = ma(C,3);
Var2 = ma(C,7);
if NextBarSdate != sDate and var1 < Var2 Then
{
if NextBarOpen > C Then
Sell("s1",AtStop,NextBarOpen+PriceScale*-18);
if NextBarOpen < C Then
Sell("sx1",AtStop,NextBarOpen-PriceScale*-18);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
var1 = ma(C,5);
Var2 = ma(C,10);
if NextBarSdate != sDate and var1 < Var2 Then
{
if NextBarOpen > C Then
Sell("s2",AtStop,NextBarOpen+PriceScale*-18);
if NextBarOpen < C Then
Sell("sx2",AtStop,NextBarOpen-PriceScale*-18);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
var1 = ma(C,7);
Var2 = ma(C,1);
if NextBarSdate != sDate and var1 < Var2 Then
{
if NextBarOpen > C Then
Sell("s3",AtStop,NextBarOpen+PriceScale*-18);
if NextBarOpen < C Then
Sell("sx3",AtStop,NextBarOpen-PriceScale*-18);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
---------------------
위 수식어에 60선 위 진입신호금지를 추가 부탁드립니다.