커뮤니티
부탁드립니다-------------
2012-02-22 10:09:36
288
글번호 48038
var : Period(30), Period1(15);
Var : stok(0);
//스토------------------------------------
stok = StochasticsK(Period,Period1);
if C > C[3] and tema82[0] < tema82[1] +0.08 then{
if (MarketPosition == 0 or (MarketPosition == 1 and highest(H,BarsSinceEntry) >= EntryPrice+PriceScale*25)) then{
위조건에 만족할때 스토가 20 ~85 사이면 sell
위조건에 만족할때 스토가 85 이상이면서
포지션이 없으면 스토가 85밑으로 내려올때 sell
포지션이 있으면 일단청산후 스토가 85밑으로 내려올때
신규sell
항상 수고하세요---
답변 1
예스스탁 예스스탁 답변
2012-02-22 14:58:27
안녕하세요
예스스탁입니다.
var : Period(30), Period1(15);
Var : stok(0);
//스토------------------------------------
stok = StochasticsK(Period,Period1);
if C > C[3] and tema82[0] < tema82[1] +0.08 then{
if (MarketPosition == 0 or (MarketPosition == 1 and highest(H,BarsSinceEntry) >= EntryPrice+PriceScale*25)) then{
if Stok >= 20 and stok <= 85 Then
sell();
if stok > 85 Then{
ExitLong();
Condition1 = true;
}
}
}
if MarketPosition == -1 Then
Condition1 = false;
if Condition1 == true and CrossDown(stok,85) Then
sell();
즐거운 하루되세요
> leekss1 님이 쓴 글입니다.
> 제목 : 부탁드립니다-------------
> var : Period(30), Period1(15);
Var : stok(0);
//스토------------------------------------
stok = StochasticsK(Period,Period1);
if C > C[3] and tema82[0] < tema82[1] +0.08 then{
if (MarketPosition == 0 or (MarketPosition == 1 and highest(H,BarsSinceEntry) >= EntryPrice+PriceScale*25)) then{
위조건에 만족할때 스토가 20 ~85 사이면 sell
위조건에 만족할때 스토가 85 이상이면서
포지션이 없으면 스토가 85밑으로 내려올때 sell
포지션이 있으면 일단청산후 스토가 85밑으로 내려올때
신규sell
항상 수고하세요---
다음글
이전글