커뮤니티
수식부탁합니다
2012-01-12 16:14:49
373
글번호 46550
예스매매신호를 시스템식으로 부탁합니다
그리고 아래수식에서 이평선 5,20,60 이 정배열 일때만 매수진입할수있도록변경부탁합니다
if stime == 90000 Then
buy("b1");
if MarketPosition == 1 Then{
if BarsSinceEntry == 1 Then
buy("b2",Atlimit,EntryPrice*0.98);
if BarsSinceEntry == 2 Then
buy("b3",AtLimit,EntryPrice*0.97);
exitlong("bx",atlimit,AvgEntryPrice*1.03);
}
답변 1
예스스탁 예스스탁 답변
2012-01-12 17:35:31
안녕하세요
예스스탁입니다.
Condition1 = ma(c,5) > ma(c,20) and ma(c,20) > ma(c,60);
if stime == 90000 and Condition1 == true Then
buy("b1");
if MarketPosition == 1 Then{
if BarsSinceEntry == 1 and Condition1 == true Then
buy("b2",Atlimit,EntryPrice*0.98);
if BarsSinceEntry == 2 and Condition1 == true Then
buy("b3",AtLimit,EntryPrice*0.97);
exitlong("bx",atlimit,AvgEntryPrice*1.03);
}
예스매매신호의 식 내용은 공개되지 않습니다.
도움을 드리지 못해 죄송합니다.
즐거운 하루되세요
> 상큼한아침 님이 쓴 글입니다.
> 제목 : 수식부탁합니다
> 예스매매신호를 시스템식으로 부탁합니다
그리고 아래수식에서 이평선 5,20,60 이 정배열 일때만 매수진입할수있도록변경부탁합니다
if stime == 90000 Then
buy("b1");
if MarketPosition == 1 Then{
if BarsSinceEntry == 1 Then
buy("b2",Atlimit,EntryPrice*0.98);
if BarsSinceEntry == 2 Then
buy("b3",AtLimit,EntryPrice*0.97);
exitlong("bx",atlimit,AvgEntryPrice*1.03);
}