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
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).
The following 4 users say Thank You to systrader for this post:
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.
The following user says Thank You to KJAVED for this post:
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.