Forum Replies Created
-
Here is Version 3 , with using the close on the buy side as well.
See how the Take profit changes per bar , moves up and down .
Attachments:
You must be logged in to access attached files.
in reply to: Bracket orders , My method. Limit and Stops.Here is Version 2 , i have changed the limit on the Short side to be based on the close and the range is between 1 and 10 . Makes a big difference.
Attachments:
You must be logged in to access attached files.
in reply to: Bracket orders , My method. Limit and Stops.Ok , I took out that opening input , even though i had 2 triggers on the limit
and if 1 was correct to trigger the bracket order.
Pls see the new graph , i added another trading strategy , i put a Price Floor
in there for the Stop loss..Please not that the price floor starts on the bar that you
have the position , and the top Strategy it starts on the following bar .
Therefore for one bar in the bracket order you do not have a TP or Sl .
Pls also note with bracket order , it goes through the TP but it does not change position . The position indicator in the middle stays the same???
Attachments:
You must be logged in to access attached files.
in reply to: Using the Bracket orders , STOP and LIMITHere is a quick chart
Attachments:
You must be logged in to access attached files.
in reply to: Using the Bracket orders , STOP and LIMITGood morning ,
Yes I clicked on the link …hmmmmm
I did a search on Discord ..interesting , they say it is good for chatting in real time.
Thank you , I am trying the Ehlers correlation and looking for a break in it.
and looking at taking different time frame correlations and comparing them using the Mcmillan idea of percentile bands and see if it has moved out of that range.
in reply to: Ideas Pls . Input/Training DataTry using the bars since order filled .
Use the relational A > B
Bars since order filled > 175 , Then you can exit a trade. That will take the last position into account, it is based on the last order filled.
Bars since exit filled > 175 . Then you can enter a new trade.
Remember to fix the 175 bars .
The question we need answering is how to enter a new trade that is not input by the model . If that was your first trade , to get the ball rolling so to speak.
You need to use the rules if A then do X or do Y
If A do A, if B do B , otherwise do C or nest them .
in reply to: Minimum number of trading days between buy and sellOnly 2 months of data . 15 minute bars.
in reply to: Time to recalculate in TS , very very slowThe only thing i could suggest , I don’t know if this will work.
Change the things you want to , then when it goes asks to use the current model for testing , say yes. Then stop it very quickly.
in reply to: Amend Trading Rules after backtestingin reply to: freelance coderNote on the second trade it took 8 bars.
in reply to: Minimum number of trading days between buy and sellin reply to: Minimum number of trading days between buy and sellHi there , well i guess you can do it this way .
Buy order triggered . Day 1
In the Long exit ,
- Whatever is your exit condition
- Bars since order filled >=5
Now you have you have the choice of using a boolean expression
AND 2 . or put in both conditions and select both orders to be used and make
2 conditions have to be used .
eg 1. Price Target
2. Number of Bars since filled >=5
If that is a market order it will be executed on the next open .which is day 6
Mark both inputs to be used ,
in reply to: Minimum number of trading days between buy and sellScreen shot of excel results
Attachments:
You must be logged in to access attached files.
in reply to: Adding Take profit and stop loss to the next barMorning Tovim , well i played around with them ,
I changed it to Seek R squared . Then took the results into
excel . Made it a cross above and cross below to work the trades .
Ended up with 62 percent winning trades and 38 percent loosing trades .
There is not enough data there , 3.5 days of trading. Trading only during the
regular hours and exiting on the close .
I have to put in more data and see if the consistency holds up in the out of
sample set .
What i do is take the indicators that I have decided to try in NSDT .( looks interesting in NSDT) . Output the values as a csv file .
Open in CH , select the 8 inputs , set to R squared . Then run it for about 8 hours
See which inputs turn up in the formula , or which are dropped . Usually
the most important thing .
in reply to: Adding Take profit and stop loss to the next bar