• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

B line

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Jaap8242
    started a topic B line

    B line

    Hello,
    In Tradestation I use an indicator, the B-line, which is a kind of LT stochastic indicator. Originally developed by Judy McKeigan ( Buffy) at dacharts.com.
    I'm not familiar with the Ninja program code. Therefore I have copied the TS code of the B-line.


    Input: Price(Close), Length1(35), Length2(10), Length3(1), OverBought(80), OverSold(20),
    MidColor(White),OBOSColor(Red);
    Variables: KFast(0), KFull(0), DFull(0), LL(O), HH(0);
    LL = Lowest((High+Low)/2, Length1);
    HH = Highest((High+Low)/2, Length1);
    KFast = 100 * IFF(HH-LL=0,0,(((High+Low)/2) - LL)/(HH- LL));
    KFull = Average(KFast, Length2);
    DFull = Average(KFull, Length3);
    If KFull <= 80 and KFull >= 20 then
    Plot1(KFull,"Stoc",MidColor,Default,2) else
    Plot1(KFull,"Stoc",OBOSColor,Default,2);
    Plot3(OverBought, "OverBought");
    Plot4(OverSold, "OverSold");

    I hope that someone can translate this into Ninja code.

    Jaap

  • traderpp
    replied
    BLine for latest version of Ninja 2016

    Originally posted by SharonSS View Post
    Hi traderpp,

    In case you don't get an answer from nkhoi in the near future, I just wanted to let you know that his last BLine template he posted still works in the most recent NT7. Just backtrack through the Posts until you find it. It was quite awhile ago, but like I said, it still works.

    Good luck. Sharon

    P.S. When directions followed, the Script wil be there also.
    Hi Sharon,

    Very kind of you to help me out.

    I do have that template but there nkhoi has tweaked some indicators & I don't know what is tweaked. I am used to all indicators without any changes so tweaking might not work for me.

    But I also forgot to mention that now I am using Ensign10 a new version which allows me to use multiple monitors.

    So I think I will need Ninja Template & script for new E10 version. Any idea if that exists ? If not I guess I might have to ask people or support at Ninja if they can program that.

    In any case I really appreciate your kind help.

    Thank You Sharon.
    traderpp.

    P.S. Which version are you using & does it have multimonitor capability in Ninja ?

    Leave a comment:


  • SharonSS
    replied
    Originally posted by traderpp View Post
    Hi nkhoi,

    Can you please post the BLine template & script & a Chart for the latest version of Ninja (2016) ?

    " NinjaTrader Version 7.0.1000.31 Production Release - January 28, 2016 "

    Also can you please do it without tweaking the indicators meaning keeping all the indicators exactly as original BLine indicators.

    Thank you in advance,
    Hi traderpp,

    In case you don't get an answer from nkhoi in the near future, I just wanted to let you know that his last BLine template he posted still works in the most recent NT7. Just backtrack through the Posts until you find it. It was quite awhile ago, but like I said, it still works.

    Good luck. Sharon

    P.S. When directions followed, the Script wil be there also.
    Last edited by SharonSS; 07-22-2016, 03:37 PM.

    Leave a comment:


  • traderpp
    replied
    BLine for latest version of Ninja 2016

    Originally posted by nkhoi View Post
    It's time to bring them to V7 so here they are. Some indicators were tweak to reduce CPU times so say yes to overwrite.

    Note: rename template without zip extension before copy it into template folder.

    ps. I didn't upload a chart picture because it look just like picture in some post back.
    Hi nkhoi,

    Can you please post the BLine template & script & a Chart for the latest version of Ninja (2016) ?

    " NinjaTrader Version 7.0.1000.31 Production Release - January 28, 2016 "

    Also can you please do it without tweaking the indicators meaning keeping all the indicators exactly as original BLine indicators.

    Thank you in advance,

    Leave a comment:


  • nkhoi
    replied
    Originally posted by behnod View Post
    Hi there,
    Thanks for sharing.
    Could you please guide me how to trade using this strategy? thx in advance
    sure, read thru ALL materials, take your time, do not rush, every of your questions will be answered
    http://www.trading-naked.com/Buffy.htm

    Leave a comment:


  • behnod
    replied
    Originally posted by nkhoi View Post
    It's time to bring them to V7 so here they are. Some indicators were tweak to reduce CPU times so say yes to overwrite.

    Note: rename template without zip extension before copy it into template folder.

    ps. I didn't upload a chart picture because it look just like picture in some post back.
    Hi there,
    Thanks for sharing.
    Could you please guide me how to trade using this strategy? thx in advance

    Leave a comment:


  • SharonSS
    replied
    Originally posted by NinjaTrader_Jesse View Post
    Hello,

    For the file extensions I will provide a screenshot (window 8) that shows how to toggle this.

    In any file explorer window you should see this at the top. If you are using XP you will need to google "How to show hidden file extensions windows XP"

    Please let me know if I may be of additional assistance.
    By golly, I got it! I had to do a search asking the question for Windows 7. Now I did add a 2 after the name, but before the changed extension. Don't know if that helped or not, but works so don't care. Now I did have to do it twice. First time it didn't take for some reason, but simply could be I have other computer issues.



    Thanks for all your help, NT Jesse!

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    Hello,

    For the file extensions I will provide a screenshot (window 8) that shows how to toggle this.

    In any file explorer window you should see this at the top. If you are using XP you will need to google "How to show hidden file extensions windows XP"

    Please let me know if I may be of additional assistance.
    Attached Files

    Leave a comment:


  • SharonSS
    replied
    Originally posted by NinjaTrader_Jesse View Post
    Hello,

    If you read the section that shows the adding templates it is in a nice bullet format for easy directions while you complete the process.

    If you are distributing an indicator package, you may also want to distribute a prebuilt Chart Template that your customers can use to quickly bring up preferred settings for your chart setup.

    1. Locate your base .zip distribution package
    2. Open the .zip
    3. Create a new directory called "templates" without the quotes
    4. Navigate into the "templates" directory and create another new directory called "Chart"
    5. Navigate into the "Chart" directory. Copy the .xml chart templates you wish to distribute from My Documents\NinjaTrader 7\templates\Chart to this directory in the .zip

    This is all that is required to allow the user to only import one file that contains both the indicator/strategy and the template that goes with the zip. this is a simple process the creator would perform that will prevent ongoing forum posts related to users that download the file not being able to use the file.

    One note on the renaming files, this process will only work if the user has the Hide known file extensions turned off, otherwise the user will rename the file but in reality they did not change the actual file extension.

    I look forward to being of further assistance.
    Most of us don't need the directions for making a template, just getting this one to work. Where are those settings for Hide Known File extensions located? I've seen that previously, but don't remember where.

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    Hello,

    If you read the section that shows the adding templates it is in a nice bullet format for easy directions while you complete the process.

    If you are distributing an indicator package, you may also want to distribute a prebuilt Chart Template that your customers can use to quickly bring up preferred settings for your chart setup.

    1. Locate your base .zip distribution package
    2. Open the .zip
    3. Create a new directory called "templates" without the quotes
    4. Navigate into the "templates" directory and create another new directory called "Chart"
    5. Navigate into the "Chart" directory. Copy the .xml chart templates you wish to distribute from My Documents\NinjaTrader 7\templates\Chart to this directory in the .zip

    This is all that is required to allow the user to only import one file that contains both the indicator/strategy and the template that goes with the zip. this is a simple process the creator would perform that will prevent ongoing forum posts related to users that download the file not being able to use the file.

    One note on the renaming files, this process will only work if the user has the Hide known file extensions turned off, otherwise the user will rename the file but in reality they did not change the actual file extension.

    I look forward to being of further assistance.

    Leave a comment:


  • SharonSS
    replied
    Originally posted by mdsvtr View Post
    with the Importing " correctly " of both the Indicators and the Template

    I have attached screenshots of what the ( New ) Indicators list is showing me , as well as
    what the Templates / Folders look like that I myself have saved on my computer

    Problem #1
    I changed the name of the template and saved it under my NT7 folder , but when I go to a chart to upload that template, it is not there

    Problem #2
    The Indicators that it is showing me from the drop down menu via the B-line, is still only showing the " older " indicators , where as the new one has the Stochastics Filled

    Sorry for my ignorance in correctly uploading and importing both the Indicators and template correctly

    Thanks as always for the help, it's very appreciated

    http://www.ninjatrader.com/support/f...0&d=1415677681
    Problem #1. I bet when you rename the template, the right side says it's still a zip file. At least it was that way for me.

    NT Jesse. That documentation looks like Greek to me.

    Leave a comment:


  • mdsvtr
    replied
    Still having a bit of trouble

    with the Importing " correctly " of both the Indicators and the Template

    I have attached screenshots of what the ( New ) Indicators list is showing me , as well as
    what the Templates / Folders look like that I myself have saved on my computer

    Problem #1
    I changed the name of the template and saved it under my NT7 folder , but when I go to a chart to upload that template, it is not there

    Problem #2
    The Indicators that it is showing me from the drop down menu via the B-line, is still only showing the " older " indicators , where as the new one has the Stochastics Filled

    Sorry for my ignorance in correctly uploading and importing both the Indicators and template correctly

    Thanks as always for the help, it's very appreciated

    http://www.ninjatrader.com/support/f...0&d=1415677681
    Attached Files

    Leave a comment:


  • mdsvtr
    replied
    Still having a bit of trouble

    Here is the current and updated settings for the B-Line
    http://www.ninjatrader.com/support/f...0&d=1415677681

    Leave a comment:


  • NinjaTrader_Jesse
    replied
    Hello,

    I just wanted to update you,

    Here is some documentation on how to add templates directly to the initial zip file to prevent the renaming steps.

    http://www.ninjatrader.com/support/h...tsub=templates

    I look forward to being of further assistance.

    Leave a comment:


  • nkhoi
    replied
    Buffy template

    how to load NJ7buffy template and indicators.

    1) download both files indicators and template
    2) rename the template buffy-NJ7-template.xml.zip to buffy-NJ7-template.xml
    3) use ninja to import all indicators from BuffyIndicatorsNJ7.zip
    4) copy template buffy-NJ7-template.xml into /chart folder

    5) open a chart and load buffy-NJ7-template, instruction below

    6) To load a Chart Template, right-click on a price chart and select "Templates" > "Load." The Load Chart Template window will appear. Select the desired template to load from the list of templates and click "OK."

    7) if template loaded successfully you will see this list of indicators on Buffy chart.
    Attached Files
    Last edited by nkhoi; 11-10-2014, 10:18 PM.

    Leave a comment:

Latest Posts

Collapse

Topics Statistics Last Post
Started by bebbus, Today, 04:50 AM
0 responses
1 view
0 likes
Last Post bebbus
by bebbus
 
Started by signalworks, Today, 01:50 AM
0 responses
2 views
0 likes
Last Post signalworks  
Started by danitralla, Today, 01:23 AM
1 response
33 views
0 likes
Last Post Fantomas  
Started by superg3, Today, 12:33 AM
0 responses
6 views
0 likes
Last Post superg3
by superg3
 
Started by vppzepuq, Yesterday, 11:28 PM
0 responses
2 views
0 likes
Last Post vppzepuq  
Working...
X