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 CarlTrading, Yesterday, 11:51 AM
    0 responses
    20 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, Yesterday, 11:48 AM
    0 responses
    23 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-25-2026, 09:53 PM
    0 responses
    30 views
    0 likes
    Last Post CaptainJack  
    Started by CaptainJack, 03-25-2026, 09:51 PM
    0 responses
    18 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 03-23-2026, 11:13 AM
    0 responses
    24 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X