SwingLine code

Studies that have been contributed to the community by other users. If you’ve got something useful to share, that’s great!
Posts: 320
Joined: 07 Jan 2007
Location: Lahore, Pakistan
Has thanked: 63 times
Been thanked: 57 times

SwingLine code

Postby khalaad » 08 Mar 2007

The attached SwingLine code plots the grey line on a chart (also attached). The line should reach the highest high before turning lower (upon three consecutive lows) and touch the lowest low before turning up (after three consecutive higher highs). On chart where the plot is not as desired, I have manually drawn red lines in the correct fashion.

Help in correcting and/or completing the code would be greatly appreciated.

Please ignore the Mov Avg Exponential; it is just that I have temporarily pasted the code in the Mov Avg Exponential PLEditor window.

(18.48 KiB) Downloaded 332 times

User avatar
Posts: 758
Joined: 08 Dec 2006

Postby Kate » 12 Mar 2007

Dear forum users,

Custom indicator programming is not our priority now so your help with SwingLine code will be very appreciated.

Return to “User Contributed Studies and Indicator Library”