Good Afternoon,
I have the code to program a custom indicator into TC2000, unfortunately the code is from TradeStation. I'm not sure if this is something worth persuing, but if the logic can be translated, that would be great
What I'm trying to do is plot pivots on any chart so I can go back in time and base my base trading decisions on them.
It's very simlilar to plotting swing point highs and lows, and is based on the following logic;
PIVOT HIGH
inputs: Price( High ), LeftStrength( 3 ), RightStrength( 3 ) ;
if PivotHighVSBar( 1, Price, LeftStrength, RightStrength, RightStrength + 1 ) <> -1
then
begin
Plot1[RightStrength]( High[RightStrength], "PivotHi" ) ;
Alert ;
end
else
NoPlot( 1 ) ; { remove the marker }
PIVOT LOW
inputs: Price( Low ), LeftStrength( 3 ), RightStrength( 3 ) ;
if PivotLowVSBar( 1, Price, LeftStrength, RightStrength, RightStrength + 1 ) <> -1
then
begin
Plot1[RightStrength]( Low[RightStrength], "PivotLo" ) ;
Alert ;
end
else
NoPlot( 1 ) ; { remove the marker }
Thank you for taking the time to consider my request.
John