Welcome to NexusFi: the best trading community on the planet, with over 150,000 members Sign Up Now for Free
Genuine reviews from real traders, not fake reviews from stealth vendors
Quality education from leading professional traders
We are a friendly, helpful, and positive community
We do not tolerate rude behavior, trolling, or vendors advertising in posts
We are here to help, just let us know what you need
You'll need to register in order to view the content of the threads and start contributing to our community. It's free for basic access, or support us by becoming an Elite Member -- see if you qualify for a discount below.
-- Big Mike, Site Administrator
(If you already have an account, login at the top of the page)
HI, I am trying hard to code a strategy and need a bit of help.
Firstly I wish to know if what I want to do is doable?
That is as follows:
The strategy would be placed on a Kagi chart, (don't know if that makes any difference or not)?
The trade entry and exit signals will come from the Kagi chart.
The trend direction is determined from an ATR trailing indicator on a Uni Renko chart.
I have tried to add the Uni Renko data series to my strategy, but without success.
If all the above is possible, then I need to set the properties for the ATR Trailing, Uni Renko and Kagi bars, within the strategy as user defined, but with a default that I want to program in.
I have watched the webinar of Scott Hodson, which was very informative, creating the Cesar Salad strategy, and have basically followed his example as much as I can, but some of what I want to do is outside the scope of his example.
If I can get some feedback on the above I will then have some further questions.
Thanks,
Ken.
Can you help answer these questions from other members on NexusFi?
I am in NT8. I would have already uploaded what I have but can't export it. I think it must be because it is incomplete? It has compiled though. I will try again, but don't know if I will be able to?
Ok, I found the problem why I couldn't export, although it compiled in the editor it didn't compile suitably for export due to the following error: CS0246. I did add a using declaration for bar types which I thought would cover that, but obviously it didn't. So I had to disable the code responsible, the declarations at the top.
Anyhow the file has been uploaded. Feedback really appreciated.
I have not looked at your code yet, but have some experience with renko/uni renko charts. I highly recommend you back test your strategy manually (at least a few trades) to make sure it works. I say this because Renko/uni renko charts re-print and have false opens. So if you write a strategy around it sometime you can have crazy slippage. Sometimes it looks good on the chart, but you need to bring up a basic time (like a 1 min) chart or a tick chart and see were your fill will really be. As a not if it is an automated strategy it will be almost impossible to backtest with any confidence.....just an fyi.
Not saying it is not good strategy or it wont work. I have just personally spent hours of wasted programing time on Uni Renko strategies that look great in testing and didn't realize i had 10 ticks of slipage on both sides of my (real) trades.
HI,
i am only using the UniRenko chart for detecting the trend with the ATR Trailing indicator.
Execution would be based on the Kagi chart.
Thanks for you concern though, it's good to know in any case.
What would the logic look like to do this, which is explained in English?
LongTrend = UniRenko last price is = or > ATR Trailing indicator.
ShortTrend = UniRenko last price is = or < ATR Trailing indicator.
Keeping in mind this strategy refers to two different charts or data series.
The UniRenko for trend direction and the Kagi for trade execution and management.