답변완료
문의
답변 고맙습니다.
진입 수량을 세팅하는 수식을 추가해주세요
b1 2개
bb2 3개
bb3 4개
****************************************************************************************
안녕하세요
예스스탁입니다.
var : BH(0),SL(0);
if MarketPosition <= 0 and 첫매수진입조건 Then
Buy("b1");
if MarketPosition == 1 and IsEntryName("b1",0) == true Then
{
BH = Highest(H,BarsSinceEntry);
if CurrentContracts > CurrentContracts[1] Then
Condition1 = False;
if BH > BH[1] Then
Condition1 = true;
if MaxEntries == 1 and Condition1 == true Then
Buy("bb2",AtLimit,BH-0.5);
if MaxEntries == 2 and Condition1 == true Then
Buy("bb3",AtLimit,BH-0.6);
}
즐거운 하루되세요
2021-02-03
550
글번호 146068
시스템
답변완료
setstoptrailing 질문
안녕하세요 ^^
예를들어
if 조건 then setstoptrailing(1,2,pointstop);
else if 조건 then setstoptrailing(2,4,pointstop);
else if 조건 then setstoptrailing(3,6,poinstop);
이런식으로 setstoptrailing 수식을 작성하면 맨 위에있는 조건 하나만 계속 돌아가는건가요?
각 조건에 따라 setstoptrailing 을 바꾸는 방법이 있는지 궁금합니다!
2021-02-02
777
글번호 146061
시스템