Click here to Login





                                                   Fisher indicator in multi time frames

  0

0
mits101963
2018-03-28 02:05:34


Hi,
I downloaded https://www.quantshare.com/item-528-fisher-transform-technical-indicator and it works like a charm.
I tried to display it weekly on a daily chart using the following code

either this

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

or this

b=timeframeapply(7, Fisher((high+low)/2, 10));
b=timeframedecompress(b);
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



QuantShare
2018-03-30 04:46:00

  0

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
0




Reply:

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"










QuantShare

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
Laguerre RSI Indicator

How-to Lessons
How to hide a trading indicator from a particular time frame
How to plot two different time frames in the same chart
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
Backtest buying a group of stocks during a certain time frame int...

Blog Posts
Create a stock index or a trading indicator using the composite t...
Detect chart patterns using the auto support/resistance indicator
Inverse Fisher Transform: Indicator, composite and trading system
How to Select the Best Market Indicator for your Trading System
Update Chart Layout based on Active Time Frame









QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
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.