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)
you are using intrabar order generation in your signal, so as soon as a condition is met during the bar an entry can take place. The indicator might plot at that moment, too, but remove the plot again when the conditions are not longer satisfied. This can for example explain differences. Another reason could be that the Max Bars back that you set in the signal is different than in the indicator and therefore the values are slightly different.
How "late" are some of the exits and entries? Can you show some examples of where they occur versus where they should occur? Is it possible that the order gets triggered at the end of the bar and simply executed on the next bar while the indicator already plots on the trigger bar?
Regards,
ABCTG
The following user says Thank You to ABCTG for this post:
I have an entry I am trying to put together and I can't get easy language to verify. I would like to get an indicator (RSI) and a show me (Supertrend) working together to screen an entry on my chart. What am I missing?
After doing some research I found that I was trying to put two indicators in one strategy when all I had to do is use the function for volatility. I think I answered my own question
I have another code I'm trying to work out and any help would be greatly appreciated. Basically I want an algo to use Macd to generate a buy or sell signal if another condition is true. Here is my code but nothing is happening when I run the strategy. My other condition is a simple moving average slope up or down. Please help.
the problem might be located within your "other condition" logic as the snippet you posted appears to be correct.
Maybe you can post the full working code as this way someone might be able to steer you in the right direction.
Regards,
ABCTG
The following 2 users say Thank You to ABCTG for this post:
the problem might be located within your "other condition" logic as the snippet you posted appears to be correct.
Maybe you can post the full working code as this way someone might be able to steer you in the right direction.
Regards,
ABCTG
After messing around with it I found out that it was simply the Max Bars Back setting that was causing trouble. thank you for the quick response.