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 ComfyCouch, Today, 06:04 PM
      0 responses
      6 views
      0 likes
      Last Post ComfyCouch  
      Started by Ousher, Today, 04:35 PM
      0 responses
      4 views
      0 likes
      Last Post Ousher
      by Ousher
       
      Started by Rugosoft, 11-17-2020, 08:22 AM
      3 responses
      37 views
      0 likes
      Last Post Shansen
      by Shansen
       
      Started by hpolthof, Today, 03:48 PM
      0 responses
      7 views
      0 likes
      Last Post hpolthof  
      Started by vivekniwas, Today, 02:26 PM
      1 response
      30 views
      0 likes
      Last Post NinjaTrader_Jermaine  
      Working...
      X