Jump to content

Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.

Prepared Investor

Members
  • Content Count

    3
  • Joined

  • Last visited

Posts posted by Prepared Investor


  1. Hey folks! Happy new year!

     

    Have a few quick technical questions ..

     

    1. In the VSA analysis, when the literature talks about UP bar or a DOWN bar, what does that actually signify:

    a. The open price > prev close?

    b. the open price > close on the same day?

     

    2. When the literature says, narrow spread, what does that refer to:

    a. distance between Open and Close

    b. distance between High and Low

     

    3. I understand that when we talk about high volume it is very relative. But I assume there is probably a standard volume moving average above which the volume is termed as high volume. Any suggestions on what volume moving average to use and what percent violation over the moving average would you consider to call it High Volume.

     

    4. When you say narrow spread, is it narrow with respect to the whole range (High - Low) of the bar OR is that just a relative to other bars?

     

    Though I understood the vsa concepts generally, the above questions seem to plague me with few doubts. Thanks for your coaching ..

     

    PI


  2. Where does the code below says that Bollinger Bands is set with (20, 2) and Keltner channel is with (20, 1.5)? The closest I see is marked in yellow below.

     

    Just want to know what parameters have been used in BB and KC, in the code below.

     

    Thanks,

     

    Nidhi

     

     

    There were a couple of extra spaces, and the bollingerbands reference was broken. This should work:

     

    declare lower;

    input Length = 20;

    input price = close;

    ######################

    def e1 = (Highest(High, length) + Lowest(low, length)) / 2 + Average(close, length);

    def osc = Inertia(price - e1 / 2, length);

    plot oscp = osc;

     

    def diff = reference BollingerBandsSMA(length = 20)."upperband" - reference KeltnerChannels."Upper_Ba nd";

    plot mid = 0;

    mid.assignValueColor(if diff >= 0 then Color.UPTICK else Color.DOWNTICK);

     

    #oscp.assignValueColor(if osc[1] < osc[0] then Color.CYAN else Color.magenta);

    oscp.assignValueColor(if osc[1] < osc[0] then

    if osc[0] >= 0 then

    #UpPos

    createColor(0, 255, 255) else

    #UpNeg

    createColor(204, 0, 204)

    else if osc[0] >= 0 then

    #DnPos

    createColor(0, 155, 155) else

    #DnNeg

    createColor(255, 155, 255));

     

    oscp.setPaintingStrategy( PaintingStrategy.HISTOGRAM);

    mid.setPaintingStrategy(PaintingStrategy.POINTS);

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.