커뮤니티
수식 문의 드립니다
2026-01-10 03:32:36
227
글번호 229693
프로그램 수식 문의 드립니다.
1) 매수: 이전 5봉중 최 고점의 5.5% 를 상향함과 동시 매수
2) 매수: 이전 1봉 중 1봉의 종가를 5.5% 상향함과 동시 매수
3) 매수: 바로1봉전 매도점대비 5.5% 상향함과 동시 매수
4) 매수: 현재봉에서 매도점대비 5.5% 상향함과 동시 매수
5) 매수: 봉이 양종이고 bollinger band(20,1) 상한선 위에 엤으면 동시 매수
6) 매도: 이전 매수 점을 5.5% 하향 과 동시 매도
7) 매도: 이전 1봉중 1봉의 종가를 5.5% 하향과 동시매도
8) 매도: 매수가 대비 5.5% 상향과 동시 매도
9) 매도: 20이평선을 5,5% 하향과 동시매도
10) 매도: 매수후 양봉이면 27분 후 매도
11) 매도: 매수후 양봉이고 bolingerband (20,5) 상한선위에 있으면 27분 후 매도
12) 매도: 매수후 양봉이고 5이평선 선위에 있으면 27분 후 매도
13) 매도: 매수후 음봉이면 1봉전 종가대비 5.5% 하락시 동시매도
14) 매도: 15시09분에 매수청산
15) 매도: 양봉일경우 매월 29일 1200시 매수 청산
답변 1
예스스탁 예스스탁 답변
2026-01-12 13:40:14
안녕하세요
예스스탁입니다.
var1 = ma(C,20);
var2 = BollBandUp(20,1);
var3 = date%100;
if MarketPosition == 0 then
{
Buy("b1",AtStop,highest(H,5)*1.055);
Buy("b2",AtStop,C*1.055);
if BarsSinceExit(1) == 1 Then
Buy("b3",AtStop,ExitPrice(1)*1.055);
Buy("b4",AtStop,ExitPrice(1)*1.055);
if C > var2 then
Buy("b5");
}
if MarketPosition == 1 then
{
ExitLong("bx1",AtStop,EntryPrice(0)*0.945);
ExitLong("bx2",AtStop,C*0.945);
ExitLong("bx3",AtLimit,EntryPrice(0)*1.055);
if L > var1*0.945 Then
ExitLong("bx4",AtStop,var1*0.945);
if TimeToMinutes(sTime) >= TimeToMinutes(EntryTime)+27 and C > O Then
ExitLong("bx5");
if TimeToMinutes(sTime) >= TimeToMinutes(EntryTime)+27 and C > O and C > var2 Then
ExitLong("bx6");
if TimeToMinutes(sTime) >= TimeToMinutes(EntryTime)+27 and C > O and C > var1 Then
ExitLong("bx7");
if C < O Then
ExitLong("bx8",AtStop,C*0.95);
if C > O and var3 == 29 and sTime >= 120000 Then
ExitLong("bx10",AtStop,C*0.95);
}
SetStopEndofday(150900);
즐거운 하루 되세요
다음글