OmniTrader Forum OmniTrader Forum
forums calendars search
today this week
 
register logon control panel Forum Rules
You are currently browsing as a guest.
You should logon to access more features
A Self-Moderated Community - ALL MEMBERS, PLEASE READ!
Vote for Members who contribute the most to your trading, and help us moderate content within the Forums.


Only Forum Moderators, Administrators, and the owner of this message may delete it.

 
LearnerGuru

Member
25
Posts: 29

Joined: 12/3/2009

User Profile
 
Subject : RE: Horizontal line Price
Posted : 4/10/2021 8:44 AM
Post #48056 - In reply to #47945

Hi Larry:

Here are few other thoughts,

======================================
================================
#Indicator

' http://www.omnitrader.com/currentclients/proforum/thread-view.asp?threadid=2691&posts=10

#param "Price1", 0
#param "Price2", 0
#param "Price3", 0
#param "Price4", 0
#param "Price5", 0
#param "Price6", 0
#param "Price7", 0
#param "Price8", 0

if Price1 > 0 then PlotPrice("P1",Price1)
if Price2 > 0 then PlotPrice("P2",Price2)
if Price3 > 0 then PlotPrice("P3",Price3)
if Price4 > 0 then PlotPrice("P4",Price4)
if Price5 > 0 then PlotPrice("P5",Price5)
if Price6 > 0 then PlotPrice("P6",Price6)
if Price7 > 0 then PlotPrice("P7",Price7)
if Price8 > 0 then PlotPrice("P8",Price8)

return 0

==========================
ideas to brainstorm:
==========================
#Indicator
#param "ClosingPrice", 0
#param "PrevHIGH", 0
#param "PrevLOW", 0
#param "GlobexHIGH", 0
#param "GlobexLOW", 0
#param "Bearish", 0
#param "Neutral", 0
#param "Bullish", 0

if ClosingPrice > 0 then PlotPrice("Close",ClosingPrice) 'PlotPrice("Close",ClosingPrice,green,3)
if PrevHIGH > 0 then PlotPrice("PrevHigh",PrevHIGH)
if PrevLOW > 0 then PlotPrice("PrevLOW",PrevLOW)
if GlobexHIGH > 0 then PlotPrice("GlobexHIGH",GlobexHIGH)
if GlobexLOW > 0 then PlotPrice("GlobexLOW",GlobexLOW)
if Bearish > 0 then PlotPrice("Bearish",Bearish)
if Neutral > 0 then PlotPrice("Neutral",Neutral)
if Bullish > 0 then PlotPrice("Bullish",Bullish)

return 0

=========================
#Indicator
' ***************************************************************************
' * This indicator plots Todays High, Todays Low, Yesterdays High and Yesterdays Low
' * for any intraday timeframe.
' *
' *
' * Parameters : Start time of the day
' *
' *
' ***************************************************************************
#param "BgnHHMM", 830, 830, 1730


dim BgnTym, HiV, LoV, Hprv, LPrv as single



if LoV = 0 then
BgnTym = BgnHHMM/100
BgnTym = (int(BgnTym)*60 + frac(BgnTym)*100 ) - 1
end if

if bardayofmonth() <> bardayofmonth()[1] then
Hprv = HiV
HiV = 0
Lprv = LoV
LoV = 1e6
end if

if BgnTym <= barhour() *60 + barminute() then

if L < LoV then LoV = L
if H > HiV then HiV = H

end if

plotprice("TodaysHigh", HiV)
plotprice("TodaysLow", LoV)
plotprice("YesterdaysHigh", Hprv)
plotprice("Yesterdayslow", LprV)

Return 0
=============================

Deleting message 48056 : RE: Horizontal line Price


Nirvana Systems
For any problems or issues please contact our Webmaster at webmaster@nirvsys.com.