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)
i want to create an intraday indicator using daily and weekly data in order to use this one in an scanner
With the help of siscop, i tested the indicator in a daily chart and it's ok
But when i insert this indicator in an intraday chart, i don't have the same result.
Is it wrong?
thank you for your help
Nuno
Can you help answer these questions from other members on NexusFi?
# I tested the indicator in a daily chart
# i plotted the same indicator in an intraday chart
As you can see in the indicator's code, i use the function HighD(), LowD() and CloseD()
So the indicator's values in the intraday chart would be the same as the indicator's values in the daily chart
It is not the case and i don't know why
I am using easylanguage tradestation and i want to find out 1 hour high and low using 5 minutes movement..pls help me out in coding cos i tried in many ways but am not able include 1st bar high and low..
First, you are using the zero (0) value in your user functions calling the DayH and DayL - intra day this will be a moving value as the open days high and low will, or may, be changing.
You are also doing an XAverage using intraday bars, so it is not smoothing over multiple daily SMI values as it is on a daily chart. You are going to need to specially code your own XAverage to be calculated once per day and storing the previous days result for use.
The DayH and DayL may be treating date change as end of day not session end. These are very old functions that were created before electronic session became 24, or near 24, hour markets.
There are a number of changes that would need to be dome to make this study work as expected. Things to look into would include :
Using BarStatus to only compute once per day.
Deciding whether DayH and DayL return the value you wish to use.
Creating an actual Daily XAverage function.