답변완료
[해외선물 - 나스닥 100] 일부 변경 요청건
매수 진입후 청산되지 않을때 매주 금요일 (토요일 새벽) AM 5시00분에
청산되지 않는 매수된 계약의 평균값이 플러스일때 (수익일때) 일괄 청산
청산되지 않는 매수된 계약의 평균값이 마이너스일때 (손실일때) 청산 되지 않는 수식을
추가 될수 있게 수식 부탁드림니다.
-----------------------------------------------------------------------------------
input : MFI기간(25),MFI값(7),하락틱수(250),하락틱수1(400),익절틱(525),손절틱(50000);
input : MFI청산기간(8),MFI청산값(86);
input : 추가매수횟수(6),X(25),Y(100);
var : MoneyFlow(0),MoneyFlow1(0);
MoneyFlow = MFI(MFI기간);
MoneyFlow1 = MFI(MFI청산기간);
if MarketPosition == 0 and MoneyFlow <= MFI값 and C <= Highest(H,X)-PriceScale*Y Then
Buy("b",OnClose,DEf,1);
if MarketPosition == 1 and MaxEntries < 추가매수횟수 and MoneyFlow < MFI값 and C < O and V > V[1] Then
Buy("추매",AtLimit,LatestEntryPrice(0)-PriceScale*하락틱수);
if MarketPosition == 1 and MaxEntries < 추가매수횟수 and C < O and V > V[1] Then
Buy("325틱추가매수",AtLimit,LatestEntryPrice(0)-PriceScale*하락틱수1);
if MarketPosition == 1 and MoneyFlow1 > MFI청산값 Then
ExitLong("MFI청산",atlimit,AvgEntryPrice*1.005);
SetStopLoss(PriceScale*손절틱,PointStop);
SetStopProfittarget(PriceScale*익절틱,PointStop);
2022-01-13
1167
글번호 155406
시스템
답변완료
[해외선물 - 나스닥] 수 청산시 현재가로 설정후 1차/2차 정정하는 기능 부여 문의
질문1: 매수 진입시에는 현재가로 매수 설정한후 "설정-부가기능"으로 해서 '진입주문지연 및 1차 2차 자동정정'을 통해 현재가로 매수가 되지 않을때에도 1차 2차 정정을 통해 매수 되었는데요...
매수 청산할때는 아래식은 "시장가"로 설정되어 있는것으로 알고 있는데 맞나요?
맞다면 매수 청산시 "현재가"로 설정이 가능할까요? 현재가로 매수청산이 안될때는 매수
진입할때처럼 1차 2차 정정하는 기능이 있나요?
알려주시며 감사하겠습니다.
-----------------------------------------------------------------------------------
input : MFI기간(25),MFI값(7),하락틱수(250),하락틱수1(400),익절틱(525),손절틱(50000);
input : MFI청산기간(8),MFI청산값(86);
input : 추가매수횟수(6),X(25),Y(100);
var : MoneyFlow(0),MoneyFlow1(0);
MoneyFlow = MFI(MFI기간);
MoneyFlow1 = MFI(MFI청산기간);
if MarketPosition == 0 and MoneyFlow <= MFI값 and C <= Highest(H,X)-PriceScale*Y Then
Buy("b",OnClose,DEf,1);
if MarketPosition == 1 and MaxEntries < 추가매수횟수 and MoneyFlow < MFI값 and C < O and V > V[1] Then
Buy("추매",AtLimit,LatestEntryPrice(0)-PriceScale*하락틱수);
if MarketPosition == 1 and MaxEntries < 추가매수횟수 and C < O and V > V[1] Then
Buy("325틱추가매수",AtLimit,LatestEntryPrice(0)-PriceScale*하락틱수1);
if MarketPosition == 1 and MoneyFlow1 > MFI청산값 Then
ExitLong("MFI청산",atlimit,AvgEntryPrice*1.005);
SetStopLoss(PriceScale*손절틱,PointStop);
SetStopProfittarget(PriceScale*익절틱,PointStop);
2022-01-13
1058
글번호 155405
시스템
답변완료
종목검색식 문의드려요
문의드려서 아래 검색식을 받았는데요
종목이 너무 많이 검색되어서.............그냥 당일에 고점 돌파한 종목만 검색하고 싶은데 수정 부탁드려요
input : short(12),long(26);
var : macdv(0),t(0),hh(0),hh1(0);
macdv = macd(short,long);
if CrossUp(macdv,0) Then
{
t = 1;
hh = h;
hh1 = hh[1];
}
if CrossDown(macdv,0) Then
t = -1;
if t == 1 Then
{
if h > hh Then
hh = h;
if hh1 > 0 and C > hh1 Then
Find(1);
}
감사합니다
2022-01-13
1007
글번호 155404
종목검색