Thomas

MyThermometer as optical signal transmitter

Category: Indicators By: Thomas Created: May 12, 2020, 8:14 AM
May 12, 2020, 8:14 AM
Indicators
10 Comments
MyThermometer as optical signal transmitter

You can choose one to five indicators for analysis. In your PRT, you only have to add color zones to get the display shown. You can also remove all lines in the code (at Return) if you prefer to work with a sine curve.
It helps me to stick to my rules. I hope it helps you too and brings money 😉
The revised indicators “myCandle …” and “Opening Range …” and “OutsidebarColorSolo” are coming soon (click on my profile and follow me to stay updated).

 

// MyThermometer
// 11.05.2020(Release 1.2)
// Thomas Geisler
// Sharing ProRealTime knowledge
// https://www.prorealcode.com/library/

// Middle of intraday range from High to Low (#MiddleRange)
DM0 = (DHigh(0)-DLow(0))/2+DLow(0)
//--end--

// Heikin Ashi berechnen (#HeikisnAshi)
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
//--end--

// Bull und Bear Stärke berechnen (#BullBear)
// Bestimmung der Stärke eines bullischen Trends
BullTrend = (Close - LOWEST[10](LOW)) / AVERAGETRUERANGE[10]

// Bestimmung der Stärke eines bearischen Trends
BearTrend = -(HIGHEST[10](HIGH) - Close) / AVERAGETRUERANGE[10]
//--end--



// Trendsignal berechnen
If MiddleRange = 0 then
A = 0
elsif Close[0] >= DM0 then
A = 1
else
A = -1
endif

if HeikinAshi = 0 then
B = 0
elsif close >= haOpen then
B = 1
else
B = -1
endif

if BullBear = 0 then
C = 0
elsif BullTrend > 1 then
C = 1
elsif BearTrend < -1 then
C = -1
endif

if SMA20 = 0 then
D = 0
elsif close >= average[20](Close) then
D = 1
else
D = -1
endif

Trend = A+B+C+D
//--end--

// Shows or Not Bull/Bear Trendlines
if ShowTrendLines = 1 then
But = BullTrend
Bet = BearTrend
else
But = 0
BeT = 0
endif
//--end--

return Trend as "Trend", 0as"0",1as"1",2as"2",3as"3",-1as"-1",-2as"-2",-3as"-3",4 as "OVERBOUGHT?",-4 as "OVERSOLD?", BuT as "BullTrend", BeT as "BearTrend"

Download
Filename: MyThermometerAdjust1-1.png
Downloads: 269
Download
Filename: MyThermometer2-1.png
Downloads: 285
Download
Filename: MyThermometer1.png
Downloads: 429
Download
Filename: MyThermometer_ColorAreas-1.png
Downloads: 300
Download
Filename: MyThermometer-V1.2.itf
Downloads: 599
Thomas
Thomas Average
Developer by day, aspiring writer by night. Still compiling my bio... Error 404: presentation not found.
Author’s Profile

Comments

KryptoKat
4 years ago
#

tolle Arbeit, professionell

killerplatuze
4 years ago
#

Dont work anymore with the current version?

oliverkeim
6 years ago
#

Hi, also here not working. Only white lines.

Lean
6 years ago
#

Hi! I love your indicator, but from some days ago it doesn't work in pro real time, do you know what could have happened? Thank you!

ESCapedTestSubject
6 years ago
#

Interesting. Many thanks. What is the market open indicator that you use? Could you share that one please? Thanks!

Thomas
6 years ago
#

Ich habe den Bereich "Bull-/BearTrend" verändert. So liefert er sauberere und stabilere Signale. Hier der Code: I have changed the "Bull / Bear Trend" area. So it delivers cleaner and more stable signals. Here is the code: if BullBear = 0 then C = 0 elsif BullTrend > 1 and BearTrend >= -2then C = 1 elsif BearTrend < -1 and BullTrend <= 2 then C = -1 endif

Thomas
6 years ago
#

Wenn sich Bull- und Beartrend zwischen 2 und -2 bewegt, deutet dies meist auf eine Konsolidierung / Seitwärtsphase hin. Wer mag kann sich diesen Bereich zusätzlich einfärben, wie in diesem Beispiel. If the bull and bear trend is between 2 and -2, this usually indicates a consolidation / sideways phase. If you like, you can also color this area, as in this example. https://1drv.ms/u/s!AlLFPjbX_wf1oKEviciNHbCR2uxxoQ?e=xLQzy4 https://1drv.ms/u/s!AlLFPjbX_wf1oKEw-1NoUXOvaelCzw?e=3715ph

BullBear
6 years ago
#

Insgesamt sehr interessant. Vielen Dank für die weitergehenden Erläuterungen.

ludo7769
6 years ago
#

malheureusement ne fonctionne pas sur V11

Thomas
6 years ago
#

Désolé, je n'ai pas encore de version 11. EDIT: Works with V11, https://1drv.ms/u/s!AlLFPjbX_wf1oKEzLbHvxEwIN60BUw?e=6AIYhf

ProRealCode ProRealCode
Loading...