Click here to Login

                                                   Fisher indicator in multi time frames


2018-03-28 02:05:34

I downloaded and it works like a charm.
I tried to display it weekly on a daily chart using the following code

either this

b=Fisher((high+low)/2, 10);
plot(b, "Fish", green);

or this

b=timeframeapply(7, Fisher((high+low)/2, 10));
plot(b, "Fish", green);

but i am getting an error "Fish:no number" on the pane.

when changing the chart to weekly of course there is no error.

any suggestions?

thanks in advance

2018-03-30 04:46:00


The "Fisher" function uses previous bar data in its calculation and since the weekly time series created by "timeframeapply" needs to have the same number of bars as the daily time series, the first bars are filled with NaN and thus the "Fisher" function will return NaN for each bar.

You need to update the "Fisher" function and avoid calculation when the price is NaN

No more messages


No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"


Trading Items
Hull Moving Average Strategy - Multi Time Frame Trading System
Fisher Transform - Technical Indicator
Multiple Time Frames Trading System - Price / Moving Average Cros...
Better Volume Indicator
Economic Surprise Indicator

How-to Lessons
How to plot two different time frames in the same chart
How to hide a trading indicator from a particular time frame
How to dynamically update the settings of an indicator
How to detect stocks trading near all time highs
How to calculate the average of a time series using the money man...

Related Forum Threads
Trading System using multiple time frames
STOP/Profit targets based on the indicator value at the time of e...
to write and execute an Indicator
Using multiple time frame in the real time version
Real Time Tick Data

Blog Posts
Create a stock index or a trading indicator using the composite t...
How to Select the Best Market Indicator for your Trading System
Inverse Fisher Transform: Indicator, composite and trading system
Detect chart patterns using the auto support/resistance indicator
How to create the advance/decline market breadth indicator

Create an account
Affiliate Program
Contact Us
Trading Forum
How-to Lessons
About Us
Terms of Use

Copyright 2021
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Follow us on Google+
RSS Trading Items

Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.