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 judysamnt7, 03-13-2023, 09:11 AM
    4 responses
    57 views
    0 likes
    Last Post DynamicTest  
    Started by ScottWalsh, Today, 06:52 PM
    4 responses
    36 views
    0 likes
    Last Post ScottWalsh  
    Started by olisav57, Today, 07:39 PM
    0 responses
    7 views
    0 likes
    Last Post olisav57  
    Started by trilliantrader, Today, 03:01 PM
    2 responses
    21 views
    0 likes
    Last Post helpwanted  
    Started by cre8able, Today, 07:24 PM
    0 responses
    9 views
    0 likes
    Last Post cre8able  
    Working...
    X