Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to use Print function

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

    How to use Print function

    pjl below is where a friend of mine, Paul J Lund wrote the code below.
    He can create and run scripts. At this time he has one question. "I can not get the Print() function to print. I place it in my code, it does not give me an error but I never see any print out. Please help me here. I must be missing something."

    Thanks,
    John





    if (CrossAbove(SMA(Fast), SMA(Slow), 1)) //pjl
    Print("Test1Long"); //pjl

    elseif (CrossBelow(SMA(Fast), SMA(Slow), 1)) //pjl
    Print("Test2Short"); //pjl

    if (CrossAbove(SMA(Fast), SMA(Slow), 1))
    { Print(
    "TestLong"); //pjl
    EnterLong("EnterLong");
    }
    //pjl
    elseif (CrossBelow(SMA(Fast), SMA(Slow), 1))
    { Print(
    "TestShort"); //pjl
    EnterShort("EnterShort");
    }
    //pjl
    }

    #2
    Tools > Output Window, thats where you will find the "Prints"

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cmtjoancolmenero, Yesterday, 03:58 PM
    10 responses
    36 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by DayTradingDEMON, Today, 09:28 AM
    4 responses
    24 views
    0 likes
    Last Post DayTradingDEMON  
    Started by geddyisodin, Yesterday, 05:20 AM
    9 responses
    50 views
    0 likes
    Last Post NinjaTrader_Gaby  
    Started by George21, Today, 10:07 AM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_ChristopherJ  
    Started by Stanfillirenfro, Today, 07:23 AM
    9 responses
    24 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Working...
    X