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 argusthome, 03-08-2026, 10:06 AM
    0 responses
    81 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    46 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    29 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    32 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    66 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X