Thomas

The13thWarrior_V1.1

Category: Indicators By: Thomas Created: September 7, 2020, 10:45 AM
September 7, 2020, 10:45 AM
Indicators
12 Comments
The13thWarrior_V1.1

The13thWarrior helps to get the scalp. But not only for scalper 😉 Some more information with the Info bubble (Indicator settings) Freely configurable.

It uses Heikin Ashi type candlestick but with conditions based on OBV and its average.

The background color is based on trend of the DMI indicator (green above 0 and red below 0).

Make money and enjoy.

// The13thWarrior_V1.1
// 06.09.2020 (Release 1.1)
// Thomas Geisler
// Sharing ProRealTime knowledge
// https://www.prorealcode.com/library/

//--init--
 alpha = 255
 myDIn = 5
 myOBVn = 5
 myBBn = 8
 myBackround = 1 (true)
 myCandle = 1 (true)
 myBB = 1 (true)
//-- end--

//the 13th warrior
the13thwarrior = 0

//Heikin Ashi
ONCE haOpen = OPEN
ONCE haClose = CLOSE
N = 0
IF BARINDEX = 0 THEN
 haOpen = OPEN
 haClose = CLOSE
ELSIF N = 0 THEN
 haClose =(OPEN+HIGH+LOW+CLOSE)/4
 haOpen =(haOpen[1]+haClose[1])/2
ENDIF

//Backround from Directinal Movement
IF myBackround = 1 THEN
 myDI = DI[myDIn](CLOSE)
 IF myDI > 0 THEN
  BACKGROUNDCOLOR(204,255,204,alpha)
 ELSIF myDI < 0 THEN
  BACKGROUNDCOLOR(255,204,204,alpha)
 ENDIF
ENDIF

//Candle-Colour from OBV and HA
IF myCandle = 1 THEN
 myOBV = OBV(CLOSE)
 myAV = Average[myOBVn](myOBV)
 IF myOBV > myAV AND haClose > haOpen THEN
  DRAWCANDLE(haOpen, HIGH, LOW, haclose) COLOURED(0,255,0,alpha)
 ELSIF myOBV < myAV AND haClose < haOpen THEN
  DRAWCANDLE(haOpen, HIGH, LOW, haclose) COLOURED(255,0,0,alpha)
 ENDIF
ENDIF

IF myBB = 1 Then
 myBBup = BollingerUp[myBBn](haclose)
 myBBdown = BollingerDown[myBBn](haclose)
 myBBav = Average[myBBn](haclose)
ELSE
 myBBup = 0
 myBBdown = 0
 myBBav = 0
ENDIF

RETURN the13thwarrior, myBBup COLOURED(102,102,102,alpha)as "myBBup", myBBdown COLOURED(102,102,102,alpha)as "myBBdown", myBBav COLOURED(0,51,255,alpha)as "myBBav"

Download
Filename: The13thWarrior_V1.1.itf
Downloads: 606
Thomas
Thomas Average
Code artist, my biography is a blank page waiting to be scripted. Imagine a bio so awesome it hasn't been coded yet.
Author’s Profile

Comments

Fabian
6 years ago
#

Hi Thomas, thanks for your explanations. Which indicator do you use in the screenshot (bottom)? Do you also use the Bollinger Band (as shown in the picture)? Have you ever thought about implementing the "Better Bollinger Band"? https://www.prorealcode.com/prorealtime-indicators/better-bollinger-bands/ I think it reacts faster and is better suited for scalping. BR Fabian

Thomas
6 years ago
#

Thats On Balance Volume and Bollinger or SMA or what you want. It shows me the volume flow. I rarely use the Bollinger Bands for scalping. Mostly just volume, Heikin Ashi. Higher timeframe, more indicators. That depends on the market and timeframe and vola

Thomas
6 years ago
#

OBV and Worrior

Thomas
6 years ago
#

Image: https://1drv.ms/u/s!AlLFPjbX_wf1oKJRMcV3TPuhMBcFiQ?e=YhDF3T

Axel98
6 years ago
#

Hi Thomas, thank you for sharing... Can you briefly explain how it works or how to use it ?

bertrandpinoy
6 years ago
#

@MAKSIDE I would be grateful if you send me your version. have a nice day

Thomas
6 years ago
#

There are multiple possibilities. My two favorites are countertrend trading and trend trading. Counter trend on 1min or 10sec time unit. After a strong move I wait for a correction, I trade this with a tight stop and quickly follow it. Get out immediately if you change Heikin-Ashi or change DI. Trend trading according to the Dow theory. 1-2-3. In a trend I wait for a correction (2-3) and try to reach point 3 optimally. At the next point 2 partial sale (stop at debut) and increase at the next point 3. All time units intraday. The settings of "The13thWarrior" vary depending on the market / time unit and volatility. I use the indicators "myCandle" and "myOpening Range" to help. With both setups, the OBV with a moving average can be very helpful. In principle, the indicator can be used without any further assistance.

IV Mcm
6 years ago
#

It all depends on the strategy used with this indicator. However, I have the impression that a simple algorithm is not simply cost-effective, so indeed it can be complex. You can also open a new discussion about this for this indicator.

MAKSIDE
6 years ago
#

@bertrandpinoy, it's easy to convert it...

bertrandpinoy
6 years ago
#

hi Thomas and thank you. can you convert this indicator into an automaic strategy?

Thomas
6 years ago
#

@bertrandpinoy No, sorry. I not working with automatic strategys.

IV Mcm
6 years ago
#

Interesting, thank you

ProRealCode ProRealCode
Loading...