Quote from Murray Ruggiero:
' TradersStudio(r) (C) 2004-2007 All Rights Reserved
Sub IntraDayPivotSys()
Dim YestOpen As BarArray
Dim YestHigh As BarArray
Dim YestLow As BarArray
Dim YestClose As BarArray
Dim S1 As BarArray
Dim S2 As BarArray
Dim R1 As BarArray
Dim R2 As BarArray
Dim MidPoint As BarArray
YestOpen=OpenD
YestHigh=HighD
YestLow=LowD
YestClose=CloseD
MidPoint=(YestHigh+YestLow+YestClose)/3
R1=(2*MidPoint)-YestLow
S1=(2*MidPoint)-YestHigh
R2=MidPoint+R1-S1
S2=MidPoint+S1-R1
If Time<TimeSerial(15,0, 0) And TradesToday()<2 Then Buy("R2BuyBreak",1,R2+getactiveminmove,Stop,Day)
If Time<TimeSerial(15,0, 0) And TradesToday()<2 Then Sell("S2SellBreak",1,S2-getactiveminmove,Stop,Day)
If MarketPosition=1 And TradesToday()<2 Then Sell("FailSell",1,R1-getactiveminmove(),Stop,Day)
If MarketPosition=-1 And TradesToday()<2 Then Buy("FailBuy",1,S1+getactiveminmove(),Stop,Day)
ExitEOD("EndOfDay","",999)
End Sub
Quote from EdgeHunter:
Hi Murray,
Thank you for posting the Free Code...
Could you share a little explanation of what its Pivot Point Calculation does or is it a system that works with PP's or?
thanks...
<img src="http://www.enflow.com/p.gif">
Quote from enochbenjamin:
excuse my ignorance, but how do you use thcode with the excel spreadsheet???
Quote from EdgeHunter:
Murray is pointing out another way of auto creating Pivot Points along with an auto trading strategy that his software application will provide...
His code sample is not connected with the attached sample excel spreadsheet that allows anyone to manually calculate Pivot Points on their own...
<img src="http://www.enflow.com/p.gif">
Quote from EdgeHunter:
Excel WorkSheet - Computes Pivot Levels using the classic formula...
<img src="http://www.enflow.com/p.gif">
.....................Quote from efficiency:
<br>"Have gun, will travel. Wire San Francisco."
Right, this is the Classic formula...Quote from efficiency:
You might consider (H+L+O+O), thus blending yesterday with today and..........providing double weight to today's open. Why? "He" chose that price point. A synthetic point. In theory to clean out the most open orders. In reality, to manuever. Either away from his basis or to attract order flow. In the case of an ETF or derivative, a composite of a helluva lot of "opens"
Incidently, the open is the one price point that ALL participants get, if they so choose.