답변완료
수식검색
var : 전환선(0),기준선(0),선행스팬1(0),선행스팬2(0);
전환선 = (highest(H,9)+lowest(L,9))/2;
기준선 = (highest(H,26)+lowest(L,26))/2;
선행스팬1 = (전환선[25]+기준선[25])/2;
선행스팬2 = (highest(H,52)[25]+lowest(L,52)[25])/2;
if 선행스팬1 > 선행스팬2 Then
Find(1);
음운이 검색 되는 이유가 뭔지 모르겠습니다
무조건 25일앞에 양운 만 검색 하고 싶으데~~
부탁드립니다
2023-11-07
1032
글번호 173812
검색
답변완료
문의 드립니다
input : StartTime(70000),EndTime(50000),진입횟수(2);
input : 익절틱수(0),손절틱수(0);
var : Tcond(False),entry(0),SE(0),BE(0);
IF Endtime > starttime Then
SetStopEndofday(Endtime);
Else
{
if sDate != sDate[1] Then
SetStopEndofday(Endtime);
}
if (sdate != sdate[1] and stime >= StartTime) or
(sdate == sdate[1] and stime >= StartTime and stime[1] < StartTime) Then
{
Tcond = true;
entry = 0;
BE = 0;
SE = 0;
IF Endtime <= starttime Then
{
SetStopEndofday(0);
}
}
if (sdate != sdate[1] and stime >= EndTime) or
(sdate == sdate[1] and stime >= EndTime and stime[1] < EndTime) Then
{
Tcond = False;
}
if (MarketPosition != 0 and MarketPosition != MarketPosition[1]) or
(MarketPosition == MarketPosition[1] and TotalTrades > TotalTrades[1]) Then
entry = entry+1;
if Tcond == true Then
{
if MarketPosition <= 0 and entry < 진입횟수 then
{
if entry < 1 Then
buy("b1",atlimit,dayhigh-PriceScale*250);
Else
{
if L > BE Then
buy("b2",atlimit,BE);
Else
buy("b3",AtStop,BE);
}
}
if MarketPosition == 1 Then
{
if BE == 0 Then
BE = EntryPrice;
exitlong("bx",atlimit,lowest(L,BarsSinceEntry)+PriceScale*500);
}
if MarketPosition >= 0 and entry < 진입횟수 Then
{
if entry < 1 Then
sell("s",atlimit,daylow+PriceScale*7000);
Else
{
if H < SE Then
Sell("s2",atlimit,SE);
Else
Sell("s3",AtStop,SE);
}
}
if MarketPosition == -1 Then
{
if SE == 0 Then
SE = EntryPrice;
ExitShort("sx",atlimit,Highest(H,BarsSinceEntry)-PriceScale*40);
}
}
SetStopProfittarget(PriceScale*익절틱수,PointStop);
SetStopLoss(PriceScale*손절틱수,PointStop);
게시판 84413 문의 내용인데요 .
1차 진입싯점에 2차도 진입이 되도록 부탁드렸는데 신호가 나오질 않습니다.
수정이 가능하지 문의 드립니다.
2023-11-07
882
글번호 173799
시스템