Dark Theme
Light Theme
Trading Articles
Article Categories
Article Tools
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)
Inv fisher transform not plotting properly
Updated December 13, 2015
Top Posters
looks_one
Zen Trader
with 5 posts (4 thanks)
looks_two
Fat Tails
with 3 posts (9 thanks)
looks_3
DavidHP
with 1 posts (2 thanks)
looks_4
romus
with 1 posts (0 thanks)
Best Posters
looks_one
Fat Tails
with 3 thanks per post
looks_two
cory
with 3 thanks per post
looks_3
DavidHP
with 2 thanks per post
looks_4
Zen Trader
with 0.8 thanks per post
trending_up
4,896 views
thumb_up
18 thanks given
group
4 followers
forum
11 posts
attach_file
6 attachments
Inv fisher transform not plotting properly
June 30th, 2013, 01:46 PM
Asia
Experience: Beginner
Platform: InvestorRT, Ninjatrader
Broker: Zen-Fire
Trading: Bongos
Posts: 22 since Jan 2010
Thanks Given: 37
Thanks Received: 25
Hi guys,
I'm trying to modify a script I found of Sylvain Vervoort's smoothed RSI inverse Fisher transform (as featured in TASC) to plot oversold and overbought levels, but it's plotting as a broken line. I have absolutely no idea what i'm doing wrong. Appreciate any help in implementing this properly. TIA.
I've attached the indicator script and this is how it's plotting...
Attached Files
Elite Membership required to download: SmoothedRsiInverseFisherTransform3.cs
Can you help answer these questions from other members on NexusFi?
Best Threads (Most Thanked) in the last 7 days on NexusFi
June 30th, 2013, 04:18 PM
virginia
Experience: Intermediate
Platform: ninja
Trading: NQ
Posts: 6,098 since Jun 2009
Thanks Given: 877
Thanks Received: 8,090
they are there, you can make them more visible so its easier to see;
Code
.........
Add(new Plot(new Pen(Color.Lime, 3), PlotStyle.Line, "InvFishOS"));
Add(new Plot(new Pen(Color.Red, 3), PlotStyle.Line, "InvFishOB"));
.........
.........
.........
// Plot plain line
InvFish.Set(inv_fish_value);
//plot coloured lines
// if (inv_fish_value > 40 && inv_fish_value < 70)
// {
// InvFish.Set(inv_fish_value);
// }
if (inv_fish_value > 70)
{
InvFishOB.Set(inv_fish_value);
}
if (inv_fish_value < 40)
{
InvFishOS.Set(inv_fish_value);
}
.......
June 30th, 2013, 05:41 PM
Berlin, Europe
Legendary Market Wizard
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103
Zen Trader
Hi guys,
I'm trying to modify a script I found of Sylvain Vervoort's smoothed RSI inverse Fisher transform (as featured in TASC) to plot oversold and overbought levels, but it's plotting as a broken line. I have absolutely no idea what i'm doing wrong. Appreciate any help in implementing this properly. TIA.
I've attached the indicator script and this is how it's plotting...
There is no need to add further plots to the indicator. Just take the original code and add
Code
#region Variables
......
private Color overbought = Color.Lime;
private Color oversold = Color.Red;
private Color neutral = Color.Cyan;
......
#endregion
protected override void OnBarUpdate()
{
........
if (inv_fish_value > 10 && inv_fish_value < 90)
PlotColors[0][0] = neutral;
else if (inv_fish_value >= 90)
PlotColors[0][0] = overbought;
else if (inv_fish_value <= 10)
PlotColors[0][0] = oversold;
}
You also may add properties for the colors and serialize them.
June 30th, 2013, 05:55 PM
Asia
Experience: Beginner
Platform: InvestorRT, Ninjatrader
Broker: Zen-Fire
Trading: Bongos
Posts: 22 since Jan 2010
Thanks Given: 37
Thanks Received: 25
Thanks Fat Tails. I'll try that out and report back.
June 30th, 2013, 06:30 PM
Asia
Experience: Beginner
Platform: InvestorRT, Ninjatrader
Broker: Zen-Fire
Trading: Bongos
Posts: 22 since Jan 2010
Thanks Given: 37
Thanks Received: 25
Thanks again Fat Tails. Works like a charm. Did not know about the PlotColors syntax.
I've attached the tweaked code for anyone interested.
Attached Files
Elite Membership required to download: SmoothedRsiInverseFisherTransform.cs
July 1st, 2013, 04:45 AM
Berlin, Europe
Legendary Market Wizard
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103
Zen Trader
Thanks again Fat Tails.
Works like a charm. Did not know about the PlotColors syntax.
I've attached the tweaked code for anyone interested.
You can even improve this approach, by making the colors user selectable. To achieve this you would first
add one line to the Intialize() section of the indicator.
Code
PlotsConfigurable = false;
This takes away the configuration options for the plot. Now you can manually add the properties of the plot such as width, PlotStyle, DashStyle and colors. You can declare variables for all of those and then add the properites to access them in the Properties region of the indicator.
The attached indicator T3Colored is a simple example how to do that. Pay attention to the proper serialization of the colors, which is explained here:
User Definable Color Inputs - [AUTOLINK]NinjaTrader[/AUTOLINK] Support Forum
Attached Files
Elite Membership required to download: T3Colored.zip
July 2nd, 2013, 09:50 AM
Asia
Experience: Beginner
Platform: InvestorRT, Ninjatrader
Broker: Zen-Fire
Trading: Bongos
Posts: 22 since Jan 2010
Thanks Given: 37
Thanks Received: 25
I guess you're giving me this tip because you can't bear to see untidy, half written indicators!
Seriously, thanks for the tip. I'll tidy it up and re-upload!
July 2nd, 2013, 12:29 PM
Berlin, Europe
Legendary Market Wizard
Experience: Advanced
Platform: NinjaTrader, MultiCharts
Broker: Interactive Brokers
Trading: Keyboard
Posts: 9,888 since Mar 2010
Thanks Given: 4,242
Thanks Received: 27,103
Zen Trader
I guess you're giving me this tip because you can't bear to see untidy, half written indicators!
Seriously, thanks for the tip. I'll tidy it up and re-upload!
If you have done this once, you can use the same approach for other indicators, and people will ask you for help and not me anymore!
July 21st, 2013, 10:03 AM
Asia
Experience: Beginner
Platform: InvestorRT, Ninjatrader
Broker: Zen-Fire
Trading: Bongos
Posts: 22 since Jan 2010
Thanks Given: 37
Thanks Received: 25
Smoothed Inverse Fisher Transform indicator, now with user selectable line plot options, and overbought and oversold levels. Thanks.
Attached Files
Elite Membership required to download: SmoothedRsiInverseFisherTransform.cs
Last Updated on December 12, 2015