커뮤니티
수정해주세요----------------
2012-04-02 13:38:31
258
글번호 49622
temcvcha = (3 * Ema(cvcha,LENGTH9)) - (3 * Ema(Ema(cvcha,LENGTH9),LENGTH9)) +
(Ema(Ema(Ema(cvcha,LENGTH9),LENGTH9),LENGTH9));
if highest(H,80)-lowest(L,80) >= C*0.0025 then {
if countif (c >= c[5] and cvcha <cvcha[5]-50,3) >=2 and cvcha > -2500 or
countif (c >= c[5] and cvcha <cvcha[5]-150,1) >=1 and cvcha > -2500 or
cvcha [2] + 급변 < cvcha[1] and cvcha[1] - 급변 > cvcha then{
sell("s");
}
위 조건에해당되어 매도 신호 나올때 "temcvcha "가 2봉중 2봉이상승중이면 매도하지말고 기다렸다가 "temcvcha "가 하락할때 매도하게고처주세요
if countif (c <= c[5] and cvcha >cvcha[5]+50,3) >=2 and cvcha < -5000 or
countif (c <= c[5] and cvcha >cvcha[5]+150,1) >=1 and cvcha < -5000 or
cvcha [2] - 급변 > cvcha[1] and cvcha[1] + 급변 < cvcha then{
buy("b");
위 조건에해당되어 매수 신호 나올때 "temcvcha "가 2봉중 2봉이하락중이면 매수하지말고 기다렸다가 "temcvcha "가 상승할때 매수하게고처주세요
청산(매수매도 공통)
3틱미만 수익났으면 진입가-4틱에 청산
3틱이상 수익났으면 진입가-2틱에 청산
5틱이상 수익났으면 진입가에 청산
15틱이상 수익났으면 진입가+10틱에 청산
부탁드립니다----
답변 1
예스스탁 예스스탁 답변
2012-04-02 15:29:56
안녕하세요
예스스탁입니다.
temcvcha = (3 * Ema(cvcha,LENGTH9)) - (3 * Ema(Ema(cvcha,LENGTH9),LENGTH9)) +
(Ema(Ema(Ema(cvcha,LENGTH9),LENGTH9),LENGTH9));
if highest(H,80)-lowest(L,80) >= C*0.0025 then {
if temcvcha < temcvcha[1] and countif (c >= c[5] and cvcha <cvcha[5]-50,3) >=2 and cvcha > -2500 or
countif (c >= c[5] and cvcha <cvcha[5]-150,1) >=1 and cvcha > -2500 or
cvcha [2] + 급변 < cvcha[1] and cvcha[1] - 급변 > cvcha then{
sell("s");
}
if temcvcha > temcvcha[1] and countif (c <= c[5] and cvcha >cvcha[5]+50,3) >=2 and cvcha < -5000 or
countif (c <= c[5] and cvcha >cvcha[5]+150,1) >=1 and cvcha < -5000 or
cvcha [2] - 급변 > cvcha[1] and cvcha[1] + 급변 < cvcha then{
buy("b");
if MarketPosition == 1 Then{
if highest(h,BarsSinceEntry) < EntryPrice+PriceScale*3 Then
exitlong("bx1",AtStop,EntryPrice-PriceScale*4);
if highest(h,BarsSinceEntry) >= EntryPrice+PriceScale*3 and highest(h,BarsSinceEntry) < EntryPrice+PriceScale*5 Then
exitlong("bx2",AtStop,EntryPrice-PriceScale*2);
if highest(h,BarsSinceEntry) >= EntryPrice+PriceScale*5 and highest(h,BarsSinceEntry) < EntryPrice+PriceScale*15 Then
exitlong("bx3",AtStop,EntryPrice-PriceScale);
if highest(h,BarsSinceEntry) >= EntryPrice+PriceScale*15 Then
exitlong("bx4",AtStop,EntryPrice+PriceScale*10);
}
if MarketPosition == -1 Then{
if Lowest(l,BarsSinceEntry) > EntryPrice+PriceScale*3 Then
ExitShort("sx1",AtStop,EntryPrice+PriceScale*4);
if Lowest(l,BarsSinceEntry) <= EntryPrice+PriceScale*3 and Lowest(l,BarsSinceEntry) > EntryPrice+PriceScale*5 Then
ExitShort("sx2",AtStop,EntryPrice+PriceScale*2);
if Lowest(l,BarsSinceEntry) <= EntryPrice+PriceScale*5 and Lowest(l,BarsSinceEntry) > EntryPrice+PriceScale*15 Then
ExitShort("sx3",AtStop,EntryPrice+PriceScale);
if Lowest(l,BarsSinceEntry) <= EntryPrice+PriceScale*15 Then
ExitShort("sx4",AtStop,EntryPrice-PriceScale*10);
}
즐거운 하루되세요
> leekss1 님이 쓴 글입니다.
> 제목 : 수정해주세요----------------
> temcvcha = (3 * Ema(cvcha,LENGTH9)) - (3 * Ema(Ema(cvcha,LENGTH9),LENGTH9)) +
(Ema(Ema(Ema(cvcha,LENGTH9),LENGTH9),LENGTH9));
if highest(H,80)-lowest(L,80) >= C*0.0025 then {
if countif (c >= c[5] and cvcha <cvcha[5]-50,3) >=2 and cvcha > -2500 or
countif (c >= c[5] and cvcha <cvcha[5]-150,1) >=1 and cvcha > -2500 or
cvcha [2] + 급변 < cvcha[1] and cvcha[1] - 급변 > cvcha then{
sell("s");
}
위 조건에해당되어 매도 신호 나올때 "temcvcha "가 2봉중 2봉이상승중이면 매도하지말고 기다렸다가 "temcvcha "가 하락할때 매도하게고처주세요
if countif (c <= c[5] and cvcha >cvcha[5]+50,3) >=2 and cvcha < -5000 or
countif (c <= c[5] and cvcha >cvcha[5]+150,1) >=1 and cvcha < -5000 or
cvcha [2] - 급변 > cvcha[1] and cvcha[1] + 급변 < cvcha then{
buy("b");
위 조건에해당되어 매수 신호 나올때 "temcvcha "가 2봉중 2봉이하락중이면 매수하지말고 기다렸다가 "temcvcha "가 상승할때 매수하게고처주세요
청산(매수매도 공통)
3틱미만 수익났으면 진입가-4틱에 청산
3틱이상 수익났으면 진입가-2틱에 청산
5틱이상 수익났으면 진입가에 청산
15틱이상 수익났으면 진입가+10틱에 청산
부탁드립니다----
다음글
이전글