Jump to content

Converted indis to NT8


orfila

Recommended Posts

Converted indicators to NT8 from MT4, MT5, NT7, Tradingview , amibroker and others ...

 

I abandoned NT7 in the last year and moved my trading system to NT8.

To practice and learn the quirks of NT8 I started bringing in some of the indicators

from other platforms that I found intriguing and some old time useful NT7 indis.

 

NO dll's only .cs files

 

I have tried to record in the description were it came from or who coded it. ( not always )

 

In some of the indis I have added a BS or BuySell graph ( +1 or -1 ) for use in strategies

along with a BuySell switch ( boolean )

 

You are welcome to add your converted indis to the thread.

 

Use at your own risk :D

Link to comment
Share on other sites

trim, Indis with lots of graphics are very time consuming to convert, so I avoid them and

honestly I mainly convert things that help my own trading.

I have done some of the navi ones and will try to upload them, but only a couple

and not a 1to1 conversion.

 

I only need Navitrend, so if you have that one to share, I would greatly appreciate it. Here are Navi files individually

https://easyupload.io/ged7gg

Edited by trim
Link to comment
Share on other sites

  • 2 months later...
  • 3 months later...
https://www.mediafire.com/file/s2c2n...a/rsx.zip/file

 

( before any complaints, the indi priceactionswing.cs goes in a folder :: Custom/Indicators/PriceActionSwing which you have to create ...)

 

Thanks for trying to help, Orfila. Yes, I have been using NinjaPriceAction indicator as the replacement for NaviTrend, not completely sure if it´s the precisely the same calculations. Can you confirm that it is exactly the same calculations?

What it would be most helpful is a RSI that draws big dots on the candles when hitting 70 or 30 (overbought oversold). I believe the Nt7 RSI indicator in those files I posted recently had that feature.

The last indicator that I found helpful when using Nt7 and that I cannot find in Nt8 is BigMo, also included in the files. Any feedback or information is greatly appreciated.

Edited by trim
Link to comment
Share on other sites

Hello. It would be very nice to rewrite this indicator from MT4 to HT8. Everyone knows it, but not everyone uses it for its intended purpose. I will describe how I use it. I don’t look at the direction of the channel, it’s silly because it is redrawn. You need to look exclusively at the width. Look at the chart for 1 min. By this, he gives information about what volatility is at the moment, how many points. An example of the euro: in the morning (according to my settings, which have not changed for 4 years), the channel width is 5-6 points, at such a time you need to be a suicide of your account to enter the market. BUT. it so happens that in the morning the width will be 12-15. and it may be so that the whole day the width will be no more than 8 points. this means that you cannot trade on that day. it happens that the width of 30-40 is a very strong market. Based on the width of the channel (in other words, volatility), we understand what we should have a stop, where we should look for an entry point and much more. strange that this indicator is not available for ninzi in any version. it would be very nice to have it. Yes, you say there are other indicators of ATR volatility, etc. but everything has been tried and this one that I post is the best. I hope you can rewrite it. thanks!!!

 

https://drive.google.com/drive/folde...yE?usp=sharing

Edited by ivan2007007
Link to comment
Share on other sites

  • 1 month later...

I need help converting this one from trading view to NT8

 

//@version=4

//

// Copyright © 2017 CC BY, whentotrade / Lars von Thienen

// Source:

// Book: Decoding The Hidden Market Rhythm - Part 1: Dynamic Cycles (2017)

// Chapter 4: "Fine-tuning technical indicators for more details on the cRSI Indicator

//

// Usage:

// You need to derive the dominant cycle as input parameter for the cycle length as described in chapter 4.

//

// License:

// This work is licensed under a Creative Commons Attribution 4.0 International License.

// You are free to share the material in any medium or format and remix, transform, and build upon the material for any purpose,

// even commercially. You must give appropriate credit to the authors book and website, provide a link to the license, and indicate

// if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

//

study(title="RSI cyclic smoothed", shorttitle="cRSI")

src = close

domcycle = input(20, minval=10, title="Dominant Cycle Length")

crsi = 0.0

cyclelen = domcycle / 2

vibration = 10

leveling = 10.0

cyclicmemory = domcycle * 2

//set min/max ranges?

 

h1 = hline(30, color=color.silver, linestyle=hline.style_dashed)

h2 = hline(70, color=color.silver, linestyle=hline.style_dashed)

 

torque = 2.0 / (vibration + 1)

phasingLag = (vibration - 1) / 2.0

 

up = rma(max(change(src), 0), cyclelen)

down = rma(-min(change(src), 0), cyclelen)

rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - 100 / (1 + up / down)

crsi := torque * (2 * rsi - rsi[phasingLag]) + (1 - torque) * nz(crsi[1])

 

lmax = -999999.0

lmin = 999999.0

for i = 0 to cyclicmemory - 1 by 1

if nz(crsi, -999999.0) > lmax

lmax := nz(crsi)

lmax

else

if nz(crsi, 999999.0) < lmin

lmin := nz(crsi)

lmin

 

mstep = (lmax - lmin) / 100

aperc = leveling / 100

 

db = 0.0

for steps = 0 to 100 by 1

testvalue = lmin + mstep * steps

above = 0

below = 0

for m = 0 to cyclicmemory - 1 by 1

below := below + iff(crsi[m] < testvalue, 1, 0)

below

 

ratio = below / cyclicmemory

if ratio >= aperc

db := testvalue

break

else

continue

 

ub = 0.0

for steps = 0 to 100 by 1

testvalue = lmax - mstep * steps

above = 0

for m = 0 to cyclicmemory - 1 by 1

above := above + iff(crsi[m] >= testvalue, 1, 0)

above

 

ratio = above / cyclicmemory

if ratio >= aperc

ub := testvalue

break

else

continue

 

 

lowband = plot(db, "LowBand", color.aqua)

highband = plot(ub, "HighBand", color.aqua)

fill(h1, h2, color=color.silver, transp=90)

fill(lowband, highband, color=color.gray, transp=90)

plot(crsi, "CRSI", color.fuchsia)

 

//@version=4

//

// Copyright © 2017 CC BY, whentotrade / Lars von Thienen

// Source:

// Book: Decoding The Hidden Market Rhythm - Part 1: Dynamic Cycles (2017)

// Chapter 4: "Fine-tuning technical indicators for more details on the cRSI Indicator

//

// Usage:

// You need to derive the dominant cycle as input parameter for the cycle length as described in chapter 4.

//

// License:

// This work is licensed under a Creative Commons Attribution 4.0 International License.

// You are free to share the material in any medium or format and remix, transform, and build upon the material for any purpose,

// even commercially. You must give appropriate credit to the authors book and website, provide a link to the license, and indicate

// if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.

//

study(title="RSI cyclic smoothed", shorttitle="cRSI")

src = close

domcycle = input(20, minval=10, title="Dominant Cycle Length")

crsi = 0.0

cyclelen = domcycle / 2

vibration = 10

leveling = 10.0

cyclicmemory = domcycle * 2

//set min/max ranges?

 

h1 = hline(30, color=color.silver, linestyle=hline.style_dashed)

h2 = hline(70, color=color.silver, linestyle=hline.style_dashed)

 

torque = 2.0 / (vibration + 1)

phasingLag = (vibration - 1) / 2.0

 

up = rma(max(change(src), 0), cyclelen)

down = rma(-min(change(src), 0), cyclelen)

rsi = down == 0 ? 100 : up == 0 ? 0 : 100 - 100 / (1 + up / down)

crsi := torque * (2 * rsi - rsi[phasingLag]) + (1 - torque) * nz(crsi[1])

 

lmax = -999999.0

lmin = 999999.0

for i = 0 to cyclicmemory - 1 by 1

if nz(crsi, -999999.0) > lmax

lmax := nz(crsi)

lmax

else

if nz(crsi, 999999.0) < lmin

lmin := nz(crsi)

lmin

 

mstep = (lmax - lmin) / 100

aperc = leveling / 100

 

db = 0.0

for steps = 0 to 100 by 1

testvalue = lmin + mstep * steps

above = 0

below = 0

for m = 0 to cyclicmemory - 1 by 1

below := below + iff(crsi[m] < testvalue, 1, 0)

below

 

ratio = below / cyclicmemory

if ratio >= aperc

db := testvalue

break

else

continue

 

ub = 0.0

for steps = 0 to 100 by 1

testvalue = lmax - mstep * steps

above = 0

for m = 0 to cyclicmemory - 1 by 1

above := above + iff(crsi[m] >= testvalue, 1, 0)

above

 

ratio = above / cyclicmemory

if ratio >= aperc

ub := testvalue

break

else

continue

 

 

lowband = plot(db, "LowBand", color.aqua)

highband = plot(ub, "HighBand", color.aqua)

fill(h1, h2, color=color.silver, transp=90)

fill(lowband, highband, color=color.gray, transp=90)

plot(crsi, "CRSI", color.fuchsia)

 

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...