Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Convert eSignal to NT

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

    Convert eSignal to NT

    function preMain() {
    setPriceStudy(true);
    setStudyTitle("CBP");
    setCursorLabelName("CBP");
    setColorPriceBars(true);
    setDefaultPriceBarColor(Color.grey);

    }

    function main() {
    var vC = close(0);
    var vCH = high(-1);
    var vCL = low(-1);


    if(vC == null || vCH == null || vCL == null) return;

    if (vC > vCH) {
    setPriceBarColor(Color.blue);
    }
    else if (vC < vCL) {
    setPriceBarColor(Color.red);
    }


    return;
    }

    thanks

    #2
    Unfortunately we do not provide services to convert eSignal code to NT. Please contact a certified NinjaScript consultant.http://www.ninjatrader.com/webnew/pa...injaScript.htm
    DierkNinjaTrader Customer Service

    Comment


      #3
      Hello cwhitelaw,

      Here's your indicator! Go make a boatload (or two boatloads) of bucks with it!

      Ben
      Attached Files

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by NinjaTrader_Brandon, Today, 07:49 AM
      0 responses
      2 views
      0 likes
      Last Post NinjaTrader_Brandon  
      Started by pdennis, Today, 07:43 AM
      0 responses
      1 view
      0 likes
      Last Post pdennis
      by pdennis
       
      Started by b16_aln, Today, 05:15 AM
      1 response
      5 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by Negustrader, Today, 01:01 AM
      1 response
      15 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by soon123, Yesterday, 10:50 PM
      1 response
      9 views
      0 likes
      Last Post NinjaTrader_ChrisL  
      Working...
      X