OmniTrader Forum
-
OmniTrader Feature Requests
Horizontal line Price |
^ Top | ||
LSJ![]() Posts: 515 Joined: 8/17/2006 Location: Citrus Springs, FL ![]() | When placing a horizontal line at a precise price it takes some fiddling around to get it right on the desired price. If the properties allowed entry of a price it would speed up this process. Thanks | |
^ Top | ||
Keith Parsons![]() Posts: 76 Joined: 6/28/2009 Location: Durban, South Africa ![]() | Hi Larry, This indicator placed by Liam some years back may be of use to you. Regards, Keith _______________________________________________ IndWTPivotCheck (Liam Bogle) #Indicator If Bar = symboldata.numrec-1 And WT_ZZ(1,14) = -1 Then PlotPriceTrendLine( "CurrentPrice", Bar-100, High, Bar, High) ElseIf Bar = symboldata.numrec-1 And WT_ZZ(1,14) = 1 Then PlotPriceTrendLine( "CurrentPrice", Bar-100, Low, Bar, Low) End If Return 0 ' Return the value calculated by the indicator ![]() | |
^ Top | ||
LSJ![]() Posts: 515 Joined: 8/17/2006 Location: Citrus Springs, FL ![]() | Thanks. Another one of those why didn't I think of that. With a little modification it does what I want. Quicker than trying to pin the tail on the donkey, so to speak. | |
^ Top | ||
LearnerGuru![]() Posts: 29 Joined: 12/3/2009 ![]() | 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 ============================= |