Dual Thrust Strategy indicator

Dual Thrust Strategy indicator

The Dual Thrust trading algorithm is a famous strategy developed by Michael Chalek. It has been commonly used in futures, forex and equity markets. The idea of Dual Thrust is similar to a typical breakout system, however dual thrust uses the historical price to construct update the look back period — theoretically making it more stable in any given period.

Calculation parameters and upper and lower rails

(1). The highest price of N on High, HH, the lowest price of Close on N Day;

(2). The highest price of Closed N on the N day, the lowest price LL of Low on the N day;

(3). Range = Max(HH – LC, HC – LL)

(4). Calculate the upper track: Buyline = Open + K1 * Range

(5). Calculate the lower rail: Sellline = Open – K2 * Range

Construction system

(1). When the price breaks above the upper rail, if it holds the short position at that time, it will close the position first and then open the multiple position; if there is no position, it will open the multiple position directly.

(2). When the price breaks down the lower track, if it holds multiple positions at that time, it will close the position first, then open the short position; if there is no position, open the short position directly.

Dual Thrust feature

When K1<K2, the long is relatively easy to be triggered; when K1>K2, the short is relatively easy to be triggered, and when K1>K2, the short is relatively easy to be triggered. Therefore, when using this strategy, investors can refer to the optimal parameters of historical data testing on the one hand, and on the other hand, they can start with their own judgments on the post-trend or from other major cycle technical indicators. Adjust the values ​​of K1 and K.

Following this request https://www.prorealcode.com/topic/convert-request-dual-thrust-trading-algorithm/, I wrote this indicator, to visually help coding a strategy.

Share this

Risk disclosure:

No information on this site is investment advice or a solicitation to buy or sell any financial instrument. Past performance is not indicative of future results. Trading may expose you to risk of loss greater than your deposits and is only suitable for experienced investors who have sufficient financial means to bear such risk.

ProRealTime ITF files and other attachments : How to import ITF files into ProRealTime platform?

PRC is also on YouTube, subscribe to our channel for exclusive content and tutorials

avatar
Register or

Likes

avatar
Related users ' posts
P. Marlowe Muy bueno. ¿Podría hacerse para señalar extremos por el lado bajista? Lo mismo a la inversa....
Miro Esta es una versión del indicador, para ambos extremos. //-------------------------------...
P. Marlowe Muchas gracias ¡¡
Iván Hi. You could add these lines of code: if intradaybarindex=0 then varhigh=round((dhigh(...
RTR Edit
@toniyecla ¡gracias! más capturas aqui: https://www.prorealcode.com/wp-content/uploads/2024/10/IC...
robert123 I had a go at the 'order block' version- badly done I'm sure....but a start. // Sonarlabs ...
robert123 take ''sens1 = 5'' out and put ''rango'' in as variable
@toniyecla captura: https://www.prorealcode.com/wp-content/uploads/2024/10/sesiones_v3.png
@toniyecla y más opciones: añade una línea también en sesiones EUROPA y USA (configurable) y un texto o...
@toniyecla // Author: toniyecla - contact@rescommunesomnium.com // VARIABLES // EspHorarioVerano (b...
Alai-n Hello, take a look at this formulation made by "Blade106", Topic link attached post #227334....
@toniyecla ¡interesante acercamiento! (no lo conocía, simplemente tuve la necesidad y lo programé) pers...
Iván
4 weeks ago
MaoRai54 dear Ivan, it seems to be very interesting but please clarify what are all the lines I see i...
Iván Hi! you have the answer in the last line of code... MacdMiddle as "histo" style(histogra...
kats Le Top , a utiliser avec le nuage violet et alerte TN pour plus de précision.
roccafragius Hello Ivan, another great Indicator, very useful to trace the trend ( blue line) and the pos...
roccafragius Hello Ivan, very good job! May I ask you to translate teh script from TradingView named Tre...
Iván Hi! yes. You can ask for it here: https://www.prorealcode.com/free-code-conversion/
roccafragius Thank you so much Ivan! I created this request in english Translate from TradingView Indicat...
Regisnew très bel indicateur merci
jordan //---settings MAmode=0 Period=150 NumberOfMA=100 //---end of settings MA2=undefined ...
jordan dites moi si cela correspond à ce que vous cherchez
kats bonjour merci de ta reponse mais non ca fonctionne pas sympa quand même d'avoir essayé cdlt
Jean2139 Bonjour Yvan, Merci pour ton indicateur que je trouve très intéressant. Je suppose que tu ...
Suffi Hier eine kleine Korrektur: //-----Inputs-----------------------------------------// MALengt...
yas hi Ivan When the order block color changes from bright red to Yellow what that means for t...
Iván That means the close is between the top and bottom level of an order block. Check lines 464 ...
yas hi Ivan is it possible to include FAIR VALUE GAP code in to this indicator
Iván
4 months ago
Javier Goberna Hola Iván muchas gracias por todo tu trabajo y por tus videos. Estoy dado de alta en la plat...
Iván Hola javier gracias! es importante realizar buenos backtest antes de lanzarse al mercado y ...
Fgats Ivan can you please explain a line of code that is puzzling me. This is line 37 . As I unde...
teshmi9z Hola, ¿es posible detectar cuándo el precio regresa a la zona del 61 al 88 % de Fibonacci y,...

Top