예스스탁
예스스탁 답변
2022-06-24 13:16:26
안녕하세요
예스스탁입니다.
1
input : 익절틱수(300),손절틱수(40);
if NextBarSdate != sDate Then
{
if NextBarOpen < C Then
Buy("b",AtStop,NextBarOpen+PriceScale*1);
if NextBarOpen > C Then
ExitLong("bx",AtStop,NextBarOpen-PriceScale*1);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
2
input : 익절틱수(300),손절틱수(40);
if NextBarSdate != sDate Then
{
if NextBarOpen > C Then
ExitShort("sx",AtStop,NextBarOpen+PriceScale*1);
if NextBarOpen < C Then
Sell("s",AtStop,NextBarOpen-PriceScale*1);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
3
input : 익절틱수(300),손절틱수(40);
if NextBarSdate != sDate Then
{
if NextBarOpen < C Then
{
Buy("b",AtStop,NextBarOpen+PriceScale*1);
Sell("s",AtStop,NextBarOpen-PriceScale*1);
}
if NextBarOpen > C Then
{
ExitLong("bx",AtStop,NextBarOpen-PriceScale*1);
ExitShort("sx",AtStop,NextBarOpen+PriceScale*1);
}
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
즐거운 하루되세요
> 푸른 님이 쓴 글입니다.
> 제목 : 수식어 부탁드립니다
> input : 익절틱수(300),손절틱수(40);
if NextBarSdate != sDate Then
{
if NextBarOpen < C Then
Buy("b",AtStop,NextBarOpen+PriceScale*1);
if NextBarOpen > C Then
Sell("s",AtStop,NextBarOpen-PriceScale*1);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
------------------
input : 익절틱수(300),손절틱수(40);
if NextBarSdate != sDate Then
{
if NextBarOpen > C Then
Buy("b",AtStop,NextBarOpen+PriceScale*1);
if NextBarOpen < C Then
Sell("s",AtStop,NextBarOpen-PriceScale*1);
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
---------------
두 수식어의 합체를 부탁드립니다.
1. 1번 수식어의 buy 진입후 sell 주문이 아닌 청산
2. 2번 수식어의 sell 진입후 buy 주문이 아닌 청산
3. 그 다음 2가지가 합체된 수식어를 부탁 드립니다.