From: Weigert, T. <we...@ms...> - 2008-05-19 04:32:26
|
Can you be a little more explicit as to what algorithm you are trying to use to trigger your buy/sell? What is your definition of "close to"? Th. From: Nicholas Kuechler [mailto:nku...@gm...] Sent: Sunday, May 18, 2008 10:29 PM To: de...@ge... Subject: [GT] System using PP.pm - support and resistance Hi all, I'm interested in using the PP.pm (pivot points) indicator to calculate support and resistance points, which I would then like to use in a system. I'm able to run display_indicator on I:PP with no problems except that it returns 5 values as a result: a pivot point, two support and two resistance points: $ ./display_indicator.pl I:PP GOOG .... Pivot[{I:Prices HIGH}, {I:Prices LOW}, {I:Prices CLOSE}][2008-05-16] = 579.8533 FirstSupport[{I:Prices HIGH}, {I:Prices LOW}, {I:Prices CLOSE}][2008-05-16] = 576.7567 SecondSupport[{I:Prices HIGH}, {I:Prices LOW}, {I:Prices CLOSE}][2008-05-16] = 572.5133 FirstResistance[{I:Prices HIGH}, {I:Prices LOW}, {I:Prices CLOSE}][2008-05-16] = 584.0967 SecondResistance[{I:Prices HIGH}, {I:Prices LOW}, {I:Prices CLOSE}][2008-05-16] = 587.1933 How can I grab a single support or single resistance point to use in my system? For example I'd like to buy if the current price is close to support, or sell when close to resistance. I'm stuck on extracting the support / resistance from this other information contained in the PP.pm indicator. Any help is greatly appreciated. Thanks, Nick -- Nicholas Kuechler |