XTL 0.72% 4,672.7 s&p/asx 20

Hot Copper Charting and Chat, page-138

  1. 883 Posts.
    lightbulb Created with Sketch. 1048
    Toastman if you can define the scan rules precisely I can write the code, in Amibroker afl or Metastock that is. In fact I did go through the process of coding my version of some of the VSA SOS and SOW indicators some time ago. Its a project that is at this stage at the back of my list of things to do.
    An example of what I did back then follows. Its the description and code for the VSA SOS called a Shakeout.

    The Shakeout (xSOS08)

    Purpose: The Professionals have to buy at lower prices and will do anything to get the price down so they can continue to accumulate the market. This Shakeout is nearly always seen on bad news and often marks the start of the next leg up of a trend.

    Identification: The Shakeout is the reverse of the Upthrust.

    An Average to Wide Spread bar that closes in the middle to the High of the bar. The close must be in the upper half of the bar. The Spread must be greater than 1.5 times the fifteen point simple moving average of the value of the High minus the Low (refer to the xSpread Indicator).

    The Low of the bar must be lower than the other Lows near it. The test is that the Low must be lower than the past five Lows.

    The majority of the range (spread) of the bar must be below the Close of the previous bar. Two Thirds of the range of the Shakeout bar must be below the Close of the previous bar.

    The Volume must be above Average to High Volume.

    shakeout.png

    Notes: The Shakeout bar is also referred to as the “Gotcha” bar. Effectively it is a wide range Test.

    When a Shakeout is seen in an uptrend, maybe after a period of sideways consolidation, it is a very strong buy opportunity.

    The next bar should close up to confirm the signal. It is a strong signal in an Uptrend or after a selling climax.

    Go long after Shakeout confirmation (next bar up) or wait for a Test. This is a very strong buy signal.

    Metastock Indicator Formula:

    {xSOS08_Shakeoutup (20110722-01)}

    {This the primary VSA Shakeout Indicator}

    xVavg:=Mov(VOLUME,15,S);
    xSR:=FmlVar("xSpread","XS");
    xSRavg:=FmlVar("xSpread","XAS");

    xSHKup:=If(
    CLOSE1.5*xSRavg AND
    LOW=(HIGH-LOW)/2+LOW AND
    VOLUME>Ref(xVavg,-1)
    ,0.5,0);

    xSHKup;


    The xSpread reference is a call to another indicator/formula that applies the VSA rules regarding the spread of the bar.

    As you can see by the date in the code title, I wrote this back in July 2011. I've been meaning to transfer this code over to Amibroker for about 7 years now. Oh how time flies by.

    Hopefully someone may find this of interest.
    Last edited by wilfran1pm: 25/10/18
 
watchlist Created with Sketch. Add XTL (ASX) to my watchlist
(20min delay)
Last
4,672.7
Change
33.200(0.72%)
Mkt cap ! n/a
Open High Low
4,639.5 4,672.7 4,638.7
XTL (ASX) Chart
arrow-down-2 Created with Sketch. arrow-down-2 Created with Sketch.