커뮤니티

수식변경

프로필 이미지
장안
2013-01-18 19:28:58
329
글번호 51788
답변완료
1
시스템
답변 5
프로필 이미지

예스스탁 예스스탁 답변

2012-06-08 14:08:00

안녕하세요 예스스탁입니다. 최초진입이 없으면 추가매수도 발생할 수 없습니다. 10시 가격을 기준으로 10틱오르면 매수하고 +20틱.-20틱 청산하는 식입니다. if stime == 100000 Then var1 = C; if MarketPosition >= 0 and stime >= 100000 and stime < 150000 Then buy("추가매수",AtStop,var1+PriceScale*10); if MarketPosition == 1 Then{ if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,EntryPrice+PriceScale*20); ExitLong("손절",AtStop,EntryPrice-PriceScale*20); } } 즐거은 하루되세요 > 장안 님이 쓴 글입니다. > 제목 : 수식변경 > 항상 감사합니다. 아래와 같이 10시에 매수하여 10틱 오르면 1개 추가매수하고 매수한 가격에서 20틱오르면 이익청산, 20틱 내리면 손절을 하는데 10시에 매수하지 않고, 10시가 기준이 되어 10틱이 오르면 1개 추가하고 20틱오르면 이익청산, 20틱 내리면 손절식을 부탁합니다. if (Stime == 100000 ) Then{ buy("매수진입"); } if MarketPosition == 1 Then{ if CurrentEntries == 1 Then buy("추가매수",AtStop,EntryPrice+PriceScale*10); if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,EntryPrice+PriceScale*20); ExitLong("손절",AtStop,EntryPrice-PriceScale*20); } }
프로필 이미지

예스스탁 예스스탁 답변

2013-01-04 10:21:23

안녕하세요 예스스탁입니다. if stime == 100000 Then{ var1 = C; var2 = index; } if MarketPosition == 0 and index > var2 Then buy("추가매수",AtStop,var1+PriceScale*10); if MarketPosition == 1 Then{ if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,var1[BarsSinceEntry]+PriceScale*20); ExitLong("손절",AtStop,var1[BarsSinceEntry]-PriceScale*20); } } 즐거운 하루되세요 > 예스스탁 님이 쓴 글입니다. > 제목 : Re : 수식변경 > 안녕하세요 예스스탁입니다. 최초진입이 없으면 추가매수도 발생할 수 없습니다. 10시 가격을 기준으로 10틱오르면 매수하고 +20틱.-20틱 청산하는 식입니다. if stime == 100000 Then var1 = C; if MarketPosition >= 0 and stime >= 100000 and stime < 150000 Then buy("추가매수",AtStop,var1+PriceScale*10); if MarketPosition == 1 Then{ if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,EntryPrice+PriceScale*20); ExitLong("손절",AtStop,EntryPrice-PriceScale*20); } } 즐거은 하루되세요 > 장안 님이 쓴 글입니다. > 제목 : 수식변경 > 항상 감사합니다. 아래와 같이 10시에 매수하여 10틱 오르면 1개 추가매수하고 매수한 가격에서 20틱오르면 이익청산, 20틱 내리면 손절을 하는데 10시에 매수하지 않고, 10시가 기준이 되어 10틱이 오르면 1개 추가하고 20틱오르면 이익청산, 20틱 내리면 손절식을 부탁합니다. if (Stime == 100000 ) Then{ buy("매수진입"); } if MarketPosition == 1 Then{ if CurrentEntries == 1 Then buy("추가매수",AtStop,EntryPrice+PriceScale*10); if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,EntryPrice+PriceScale*20); ExitLong("손절",AtStop,EntryPrice-PriceScale*20); } }
프로필 이미지

예스스탁 예스스탁 답변

2013-01-04 11:12:06

if stime == 100000 Then{ var1 = C; var2 = index; Condition1 = false; } if MarketPosition == 1 Then Condition1 = true; if MarketPosition == 0 and index > var2 and Condition1 == false Then buy("추가매수",AtStop,var1+PriceScale*10); if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,var1[BarsSinceEntry]+PriceScale*20); ExitLong("손절",AtStop,var1[BarsSinceEntry]-PriceScale*20); } > 예스스탁 님이 쓴 글입니다. > 제목 : Re : Re : 수정한 식입니다. > 안녕하세요 예스스탁입니다. if stime == 100000 Then{ var1 = C; var2 = index; } if MarketPosition == 0 and index > var2 Then buy("추가매수",AtStop,var1+PriceScale*10); if MarketPosition == 1 Then{ if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,var1[BarsSinceEntry]+PriceScale*20); ExitLong("손절",AtStop,var1[BarsSinceEntry]-PriceScale*20); } } 즐거운 하루되세요 > 예스스탁 님이 쓴 글입니다. > 제목 : Re : 수식변경 > 안녕하세요 예스스탁입니다. 최초진입이 없으면 추가매수도 발생할 수 없습니다. 10시 가격을 기준으로 10틱오르면 매수하고 +20틱.-20틱 청산하는 식입니다. if stime == 100000 Then var1 = C; if MarketPosition >= 0 and stime >= 100000 and stime < 150000 Then buy("추가매수",AtStop,var1+PriceScale*10); if MarketPosition == 1 Then{ if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,EntryPrice+PriceScale*20); ExitLong("손절",AtStop,EntryPrice-PriceScale*20); } } 즐거은 하루되세요 > 장안 님이 쓴 글입니다. > 제목 : 수식변경 > 항상 감사합니다. 아래와 같이 10시에 매수하여 10틱 오르면 1개 추가매수하고 매수한 가격에서 20틱오르면 이익청산, 20틱 내리면 손절을 하는데 10시에 매수하지 않고, 10시가 기준이 되어 10틱이 오르면 1개 추가하고 20틱오르면 이익청산, 20틱 내리면 손절식을 부탁합니다. if (Stime == 100000 ) Then{ buy("매수진입"); } if MarketPosition == 1 Then{ if CurrentEntries == 1 Then buy("추가매수",AtStop,EntryPrice+PriceScale*10); if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,EntryPrice+PriceScale*20); ExitLong("손절",AtStop,EntryPrice-PriceScale*20); } }
프로필 이미지

예스스탁 예스스탁 답변

2013-01-04 13:27:39

if stime == 100000 Then{ var1 = C; var2 = index; Condition1 = false; } if MarketPosition == 0 and index > var2 and L < var1-PriceScale*20 Then Condition1 = true; if MarketPosition == 1 Then Condition1 = true; if MarketPosition == 0 and index > var2 and Condition1 == false Then buy("추가매수",AtStop,var1+PriceScale*10); if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,var1[BarsSinceEntry]+PriceScale*20); ExitLong("손절",AtStop,var1[BarsSinceEntry]-PriceScale*20); } > 예스스탁 님이 쓴 글입니다. > 제목 : Re : Re : Re : 다시 수정한 식입니다. > if stime == 100000 Then{ var1 = C; var2 = index; Condition1 = false; } if MarketPosition == 1 Then Condition1 = true; if MarketPosition == 0 and index > var2 and Condition1 == false Then buy("추가매수",AtStop,var1+PriceScale*10); if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,var1[BarsSinceEntry]+PriceScale*20); ExitLong("손절",AtStop,var1[BarsSinceEntry]-PriceScale*20); } > 예스스탁 님이 쓴 글입니다. > 제목 : Re : Re : 수정한 식입니다. > 안녕하세요 예스스탁입니다. if stime == 100000 Then{ var1 = C; var2 = index; } if MarketPosition == 0 and index > var2 Then buy("추가매수",AtStop,var1+PriceScale*10); if MarketPosition == 1 Then{ if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,var1[BarsSinceEntry]+PriceScale*20); ExitLong("손절",AtStop,var1[BarsSinceEntry]-PriceScale*20); } } 즐거운 하루되세요 > 예스스탁 님이 쓴 글입니다. > 제목 : Re : 수식변경 > 안녕하세요 예스스탁입니다. 최초진입이 없으면 추가매수도 발생할 수 없습니다. 10시 가격을 기준으로 10틱오르면 매수하고 +20틱.-20틱 청산하는 식입니다. if stime == 100000 Then var1 = C; if MarketPosition >= 0 and stime >= 100000 and stime < 150000 Then buy("추가매수",AtStop,var1+PriceScale*10); if MarketPosition == 1 Then{ if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,EntryPrice+PriceScale*20); ExitLong("손절",AtStop,EntryPrice-PriceScale*20); } } 즐거은 하루되세요 > 장안 님이 쓴 글입니다. > 제목 : 수식변경 > 항상 감사합니다. 아래와 같이 10시에 매수하여 10틱 오르면 1개 추가매수하고 매수한 가격에서 20틱오르면 이익청산, 20틱 내리면 손절을 하는데 10시에 매수하지 않고, 10시가 기준이 되어 10틱이 오르면 1개 추가하고 20틱오르면 이익청산, 20틱 내리면 손절식을 부탁합니다. if (Stime == 100000 ) Then{ buy("매수진입"); } if MarketPosition == 1 Then{ if CurrentEntries == 1 Then buy("추가매수",AtStop,EntryPrice+PriceScale*10); if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,EntryPrice+PriceScale*20); ExitLong("손절",AtStop,EntryPrice-PriceScale*20); } }
프로필 이미지

예스스탁 예스스탁 답변

2013-01-04 19:38:35

안녕하세요 예스스탁입니다. 해당식 아래정도뿐이 작성이 안될것 같습니다. 기존식에서 당일 10시에 첫진입나오고 가격이 횡보해서 다음날 신호가 발생하는 경우 기존의 수식은 피라미딩식이고 첫진입의 진입가를 기준으로 50틱 상승하면 신호가 발생하는데 첫진입 없이 추가진입하는 식에서는 첫진입이 없으므로 진입가를 사용할수 없어 10시의 가격을 기준으로 50틱 상승하면 신호가 발생하게 됩니다. 이런이유로 신호가 기존진입과 같이 나오는 날도 있고 약간 차이가 발생하는 날도 있습니다. 이용에 참고하시기 바랍니다. 매도식도 같이 올려드립니다. 1 매수 if stime == 100000 Then{ var1 = C; var2 = index; Condition1 = false; } if MarketPosition == 0 and index > var2 and L < var1-PriceScale*150 Then Condition1 = true; if MarketPosition == 1 Then Condition1 = true; if MarketPosition == 1 and index > var2 and H > var1+PriceScale*50 Then Condition1 = true; if MarketPosition == 0 and index > var2 and Condition1 == false and var1 != 0 Then buy("추가매수",AtStop,var1+PriceScale*50); if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,var1[BarsSinceEntry]+PriceScale*150); ExitLong("손절",AtStop,var1[BarsSinceEntry]-PriceScale*150); } 2. 매도 if stime == 100000 Then{ var1 = C; var2 = index; Condition1 = false; } if MarketPosition == 0 and index > var2 and H > var1-PriceScale*150 Then Condition1 = true; if MarketPosition == -1 Then Condition1 = true; if MarketPosition == -1 and index > var2 and L < var1-PriceScale*50 Then Condition1 = true; if MarketPosition == 0 and index > var2 and Condition1 == false and var1 != 0 Then sell("추가매도",AtStop,var1-PriceScale*50); if MarketPosition == -1 Then{ ExitShort("이익청산",atlimit,var1[BarsSinceEntry]-PriceScale*150); ExitShort("손절",AtStop,var1[BarsSinceEntry]+PriceScale*150); } 즐거운 하루되세요 > 예스스탁 님이 쓴 글입니다. > 제목 : Re : Re : Re : Re : 수정한 식입니다. > if stime == 100000 Then{ var1 = C; var2 = index; Condition1 = false; } if MarketPosition == 0 and index > var2 and L < var1-PriceScale*20 Then Condition1 = true; if MarketPosition == 1 Then Condition1 = true; if MarketPosition == 0 and index > var2 and Condition1 == false Then buy("추가매수",AtStop,var1+PriceScale*10); if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,var1[BarsSinceEntry]+PriceScale*20); ExitLong("손절",AtStop,var1[BarsSinceEntry]-PriceScale*20); } > 예스스탁 님이 쓴 글입니다. > 제목 : Re : Re : Re : 다시 수정한 식입니다. > if stime == 100000 Then{ var1 = C; var2 = index; Condition1 = false; } if MarketPosition == 1 Then Condition1 = true; if MarketPosition == 0 and index > var2 and Condition1 == false Then buy("추가매수",AtStop,var1+PriceScale*10); if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,var1[BarsSinceEntry]+PriceScale*20); ExitLong("손절",AtStop,var1[BarsSinceEntry]-PriceScale*20); } > 예스스탁 님이 쓴 글입니다. > 제목 : Re : Re : 수정한 식입니다. > 안녕하세요 예스스탁입니다. if stime == 100000 Then{ var1 = C; var2 = index; } if MarketPosition == 0 and index > var2 Then buy("추가매수",AtStop,var1+PriceScale*10); if MarketPosition == 1 Then{ if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,var1[BarsSinceEntry]+PriceScale*20); ExitLong("손절",AtStop,var1[BarsSinceEntry]-PriceScale*20); } } 즐거운 하루되세요 > 예스스탁 님이 쓴 글입니다. > 제목 : Re : 수식변경 > 안녕하세요 예스스탁입니다. 최초진입이 없으면 추가매수도 발생할 수 없습니다. 10시 가격을 기준으로 10틱오르면 매수하고 +20틱.-20틱 청산하는 식입니다. if stime == 100000 Then var1 = C; if MarketPosition >= 0 and stime >= 100000 and stime < 150000 Then buy("추가매수",AtStop,var1+PriceScale*10); if MarketPosition == 1 Then{ if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,EntryPrice+PriceScale*20); ExitLong("손절",AtStop,EntryPrice-PriceScale*20); } } 즐거은 하루되세요 > 장안 님이 쓴 글입니다. > 제목 : 수식변경 > 항상 감사합니다. 아래와 같이 10시에 매수하여 10틱 오르면 1개 추가매수하고 매수한 가격에서 20틱오르면 이익청산, 20틱 내리면 손절을 하는데 10시에 매수하지 않고, 10시가 기준이 되어 10틱이 오르면 1개 추가하고 20틱오르면 이익청산, 20틱 내리면 손절식을 부탁합니다. if (Stime == 100000 ) Then{ buy("매수진입"); } if MarketPosition == 1 Then{ if CurrentEntries == 1 Then buy("추가매수",AtStop,EntryPrice+PriceScale*10); if MarketPosition == 1 Then{ ExitLong("이익청산",atlimit,EntryPrice+PriceScale*20); ExitLong("손절",AtStop,EntryPrice-PriceScale*20); } }