예스스탁
예스스탁 답변
2025-12-03 15:47:43
안녕하세요
예스스탁입니다.
피라미딩을 다른진입신호만 허용으로 설정하고 적용하시면 됩니다.
input : Price1(573.00);
input : Price2(572.00);
input : Price3(571.00);
input : Price4(570.00);
input : Price5(569.00);
input : Price6(568.00);
input : Price7(567.00);
if MarketPosition == 0 and crossup(C,price1) Then
buy("b1");
if MarketPosition == 1 Then
{
if CrossUp(C,Price2) Then
Buy("b2");
if CrossUp(C,Price3) Then
Buy("b3");
if CrossUp(C,Price4) Then
Buy("b4");
if CrossUp(C,Price5) Then
Buy("b5");
if CrossUp(C,Price6) Then
Buy("b6");
if CrossUp(C,Price7) Then
Buy("b7");
}
즐거운 하루되세요
예스스탁
예스스탁 답변
2025-12-04 13:18:46
안녕하세요
예스스탁입니다.
input : Price1(573.00);
input : Price2(574.00);
input : Price3(575.00);
input : Price4(576.00);
input : Price5(577.00);
input : Price6(578.00);
input : Price7(579.00);
if MarketPosition == 0 and crossdown(C,price1) Then
Sell("b1");
if MarketPosition == 1 Then
{
if crossdown(C,Price2) Then
sell("b2");
if crossdown(C,Price3) Then
sell("b3");
if crossdown(C,Price4) Then
sell("b4");
if crossdown(C,Price5) Then
sell("b5");
if crossdown(C,Price6) Then
sell("b6");
if crossdown(C,Price7) Then
sell("b7");
}
즐거운 하루되세요