DOUBLE TOP/BOTTOM HUNTER
Forums › ProRealTime English forum › ProOrder support › DOUBLE TOP/BOTTOM HUNTER
- This topic has 23 replies, 5 voices, and was last updated 6 years ago by Leo.
-
-
02/01/2018 at 6:42 AM #61163
Another great exit possibility is to add a trend line in maximus and minimus
12345678910111213141516171819LowerTrendLine = LEVMIN + (LEVMIN-BLEVMIN)/(POSLEVMIN-BPOSLEVMIN)*(BARINDEX-POSLEVMIN) //trigonometryUpperTrendLine = LEVMAX + (LEVMAX-BLEVMAX)/(POSLEVMAX-BPOSLEVMAX)*(BARINDEX-POSLEVMAX) // trigonometryIF longonmarket thenIF close < LowerTrendLine-pipsize THENSELL AT MARKETENDIFENDIFIF shortonmarket thenIF close > UpperTrendLine + pipsize THENEXITSHORT AT MARKETENDIFENDIF1 user thanked author for this post.
02/01/2018 at 6:48 AM #61164Another exit strategy I am working on is posted here
https://www.prorealcode.com/topic/need-help-to-code-a-more-dynamic-trailing-stop/
02/01/2018 at 11:16 AM #61184did you run a backtest with the new closing conditions anywhere?
02/01/2018 at 8:31 PM #6123202/02/2018 at 2:06 PM #61280could you post the complete code with the closing conditions?
02/06/2018 at 5:14 AM #61619Hi raphaelopilski,
Today I wanted to upload the code and a comparison between two exit strategy. This time the result was uncomfortable to me.
I tested in AUDUSD 1min and the things were totally the oposite.
So better I do not post the version with some other exit position (for no confusing the people) rather I post a photo for give you an idea how they are. But I I said: this time it doesn’t work better
Lets continue working in this project I am very motivated to work finally in something like pattern recognition.
02/11/2018 at 6:42 PM #6229702/12/2018 at 5:47 AM #62323thanks Gianluca,
well here is the indicator https://www.prorealcode.com/prorealtime-indicators/double-top-double-bottom-detector/
If you find a characteristic that made the double top/bottom reliable that can be very useful. then I hope then I can program it
02/12/2018 at 5:49 AM #62324Based on having watched charts for years, I have often times noticed that legitimate double tops tend to make a higher high (tops) or lower low (bottoms) on the second top or bottom than the first. The average close of the second top however if measured across the candle directly before the new high (tops) and low (bottoms) along with the candle that printed the actual high or low is usually lower (for tops) or higher (for bottoms).
JuanJ can you please send me I picture with some explanation, that would be great!
-
AuthorPosts