기존 사용 수식인데요
MFI(25) < 16일경우 매수하는 수식인데요
25봉안에서 최고점 대비 200틱이하(변수로 지정) 일때를 동시에 만족시
매수될수 있도록 추가시켜주시면 감사하겠습니다.
input : MFI기간(25),MFI값(16),하락틱수(300),익절틱(90),손절틱(300);
input : 추가매수횟수(1);
var : MoneyFlow(0);
MoneyFlow = MFI(MFI기간);
if MarketPosition == 0 and MoneyFlow <= MFI값 Then
Buy("b",OnClose,DEf,1);
if MarketPosition == 1 and MaxEntries < 추가매수횟수 Then
Buy("bb",AtLimit,LatestEntryPrice(0)-PriceScale*하락틱수);
SetStopLoss(PriceScale*손절틱,PointStop);
SetStopProfittarget(PriceScale*익절틱,PointStop);
답변 1
예스스탁
예스스탁 답변
2021-09-03 10:40:58
안녕하세요
예스스탁입니다.
input : MFI기간(25),MFI값(16),하락틱수(300),익절틱(90),손절틱(300);
input : 추가매수횟수(1),X(26),Y(200);
var : MoneyFlow(0);
MoneyFlow = 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 < 추가매수횟수 Then
Buy("bb",AtLimit,LatestEntryPrice(0)-PriceScale*하락틱수);
SetStopLoss(PriceScale*손절틱,PointStop);
SetStopProfittarget(PriceScale*익절틱,PointStop);
즐거운 하루되세요
> 이형지 님이 쓴 글입니다.
> 제목 : 기존 수식에 추가적인 매수 조건 반영 부탁드림니다.
> 기존 사용 수식인데요
MFI(25) < 16일경우 매수하는 수식인데요
25봉안에서 최고점 대비 200틱이하(변수로 지정) 일때를 동시에 만족시
매수될수 있도록 추가시켜주시면 감사하겠습니다.
input : MFI기간(25),MFI값(16),하락틱수(300),익절틱(90),손절틱(300);
input : 추가매수횟수(1);
var : MoneyFlow(0);
MoneyFlow = MFI(MFI기간);
if MarketPosition == 0 and MoneyFlow <= MFI값 Then
Buy("b",OnClose,DEf,1);
if MarketPosition == 1 and MaxEntries < 추가매수횟수 Then
Buy("bb",AtLimit,LatestEntryPrice(0)-PriceScale*하락틱수);
SetStopLoss(PriceScale*손절틱,PointStop);
SetStopProfittarget(PriceScale*익절틱,PointStop);