Page 1 of 2

Chinkou Span Strategy

PostPosted: Thu Nov 26, 2015 6:50 am
by Apprentice
Chinkou Span Strategy.png

Based on request.
viewtopic.php?f=27&t=62908&p=103516#p103516

Long Entry
Chinkou span surpassed tenkan sen and Kijun sen

Exit is set at 26 period Low.
Short reverse logic.
Chinkou Span Strategy.lua
(18.88 KiB) Downloaded 853 times


The Strategy was revised and updated on December 18, 2018.

Re: Chinkou Span Strategy

PostPosted: Mon Dec 07, 2015 4:38 am
by Rastoh
Thank you for the excellent work done and the time that you have paid.

Probably everyone who tested this strategy may initially be disappointed. Backtest turned out very badly. .

Fire is a good servant but a bad master, and this also applies to this strategy.

Anyone who download or download this strategy, he ought to know and also how to use it.
Strategy while tests on demo accounts of the currency pair EUR / USD.

Example
 Value Line Chinkou span is greater than tenkan sen and Kijun sen. The growing trend.
I run a strategy and set up a program to sell (not purchase) and the number of pips 100 pips example .When line Chinkou span crosses two lines down, and starts the store on sale .. at this point in time need to pause the -Advantage. At this point it is better to set it manually. Where the stop loss is the highest price for the last 26 candles. Profit is also better to set, for example by Fibonaci or other indicator.
4 hour timeframe has more potential for greater profit.

If you expect a trend change, I set a strategy either for sale or purchase. Never both.
Strategy I have ever launched, with permission to purchase it is a growing trend.
Strategy I have ever running for sale when the downward trend.

Strategy should be run and set a trend that has not begun and that the store opened when the excavation line Chinkou span, which means confirmation of a new trend.


If someone had a better idea of ​​how to set profit or as a better strategy to use, I welcome any idea.

The problem is that when the program is run non-stop, for example at five minute chart and set to sale and purchase, store is always open in the direction of the trend, over time when the achieved even set profile. Then it is also more likely that the market turns against us. And we can go into the red numbers.

thank you

Re: Chinkou Span Strategy

PostPosted: Sun Jul 10, 2016 11:58 pm
by jaricarr
Hi

This strategy is missing the "Stop order in pips" field (amount of pips).
Can you please add it.

Thanks
JC

Re: Chinkou Span Strategy

PostPosted: Mon Aug 08, 2016 7:35 am
by Apprentice
Code: Select all
  if SetStop then
   local Value;
   local min,max= mathex.minmax(Source, Source,period-Period+1, period);
   local BuyDelta= (Source.close[period]-min)/Source:pipSize();
   local SellDelta= (max-Source.close[period])/Source:pipSize();
   
        if BuySell == "B" then
            valuemap.PegPriceOffsetPipsStop = BuyDelta;
         
        else
            valuemap.PegPriceOffsetPipsStop = SellDelta;
        end
      
    end

This is stop logic used.

Re: Chinkou Span Strategy

PostPosted: Sat Dec 17, 2016 9:35 am
by Apprentice
Strategy was revised and updated.

Re: Chinkou Span Strategy

PostPosted: Sun Aug 07, 2022 1:42 am
by mistertrade
Hello,
I use this strategy and it works well.
I wanted to know if it was possible to add a new parameter which would be: "Total number of trades executed by the strategy".
This new parameter would limit the number of trades (open and closed positions) that the strategy can execute.

Example: I execute the strategy and I set this new parameter to the value 5. When the number of trades carried out by this strategy (and only this strategy) reaches 5, no other position will be opened by the strategy.

Thanks for your help.

Re: Chinkou Span Strategy

PostPosted: Mon Aug 08, 2022 5:35 am
by Apprentice
We have added your request to the development list.
Development reference 471.

Re: Chinkou Span Strategy

PostPosted: Thu Aug 11, 2022 4:13 am
by Apprentice
"Total number of trades executed by the strategy" and "Total number of trades executed by the strategy (Time in Days)" were introduced.

It hasn't been tested myself, so I'd appreciate if you could.
Chinkou Span Strategy.lua
(24.04 KiB) Downloaded 111 times

Re: Chinkou Span Strategy

PostPosted: Thu Aug 11, 2022 10:12 pm
by mistertrade
Hello,

Thank you fort the new strategy. I will test it.

Can you just explain me what is exactly the parameter "Total number of trades executed by the strategy (Time in Days)" whose format is 'double' ?

Re: Chinkou Span Strategy

PostPosted: Sun Aug 14, 2022 4:24 am
by mistertrade
Hello Apprentice,

I tested the new strategy in simulation mode on the Ger30 instrument and unfortunately it doesn't seem to work.
I set the 2 new parameters as follows:
"TotalNumberOfPosition" = 3
"TotalNumberOfPositionTime" = 1.0
When I run the strategy, it works well but it keeps opening and closing positions, even when it reaches the maximum number of 3 (first parameter).

When you have time, can you see the problem?
Thanks.