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)
also systrader can we put a 100 wma in the script and only allow shorter term trades to trigger if it agrees with the 100 wma? so say we have a blue 100 then we will take all longs and if a red 100 then we will take all shorts? thanks sharky
Can you help answer these questions from other members on NexusFi?
I have to run for the night, I will add the longer term ema tomorrow.
In the mean time, here's an updated script that you can play with. I made the DMA type (Zero, etc) parameters. I also added a new parameter called 'AutoBreakEvenTicks' - it will move your stop up to break even after x number of ticks. So the strategy now process tick by tick for the handling of the stop loss as well as the main time frame (used by the chart).
I have some ideas to improve performance of strategy.
If session period added then it will be great. say fix two sessions
1) Session1 9:30 to 11:30 AM
No new trade entered after 11:00 AM
Exit all Trades after 11:30AM
2) Session2 1:30 to 4:00PM
No New Trades entered after 3;30 PM
Exit all Trades after 4:00PM
The values for time adjustment can be changed from strategy parametrs column.
Other idea to fix overall target for profit and loss for this strategy. As soon as any target for profit or loss hit strategy stop automatically. These profit and loss targets can be changed through strategy parametrs column.
I could modify the script so that it initiates an ATM strategy and also add a parameter so that you can either use an ATM or use the existing order processing.
Please re-name it clear as a new version (versionNo) + log/describe your changes in the code + in the posting here - so that its easy to be compared to other versions.
Thank you !
I had a thought about the problem of "chop" I have been looking at using Dynamic SR(10). if the the value between support and resistance is less than 1.5 points do not enter any trade. I have been looking at this idea with trading the TF . Just a thought.
Also any momentum indicators at this point (ECO2) or maybe later in the script.