Re: [amibroker] Trend Line Break

 

hello
Can you check please if the chart panel still has the same  ChartID = 2153 ?

On 05-02-16 11:43 PM, 'Gary Richardson' garyrich@ihug.co.nz [amibroker] wrote:

 

Can someone please help. This the code I have been using to alert me to a trend line break, when I run a scan, but now this is not working. Any suggestions please. Many Thanks Gary

 

_SECTION_BEGIN ("Trend Line break"); // GBS Coded

 

   Plot(C, "Price", colorBlack, styleCandle );

  su = Study("SU", ChartID = 2153 );

  re = Study("RE", ChartID = 2153 );

  PlotOHLC( re,  re,  su, su, "", colorYellow,styleCloud );

  // Above PlotOHLC simply colours-in the area between the drawn Support AND Resistance Line

    Price = C > 0.099 AND C < 6.01;

    Buy  = Cross(C,re);

  Sell = Cross(su,C);

   Filter = Buy AND Sell AND Price;

     _SECTION_END();


__._,_.___

Posted by: Panos Boufardeas <panosbouf@gmail.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (7)
**** IMPORTANT PLEASE READ ****
This group is for the discussion between users only.
This is *NOT* technical support channel.

TO GET TECHNICAL SUPPORT send an e-mail directly to
SUPPORT {at} amibroker.com

TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
http://www.amibroker.com/feedback/
(submissions sent via other channels won't be considered)

For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/


.

__,_._,___


EmoticonEmoticon