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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    101 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    144 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    70 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    125 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    78 views
    0 likes
    Last Post PaulMohn  
    Working...
    X