Welcome to the new Traders Laboratory! Please bear with us as we finish the migration over the next few days. If you find any issues, want to leave feedback, get in touch with us, or offer suggestions please post to the Support forum here.
Welcome. You are currently viewing the forum as a guest which does not give you access to all the great features at Traders Laboratory such as interacting with members, access to all forums, downloading attachments, and eligibility to win free giveaways. Registration is fast, simple and absolutely free. Create a FREE Traders Laboratory account here.
Search the Community
Showing results for tags 'print'.
Found 4 results
This thread is about the PRINT keyword in EasyLanguage Print Sends one or more specified expressions to the PowerLanguage Editor Output Log or another output target, if specified. Any combination of string, true/false, numerical series, or numerical expressions can be specified. Usage Print([OutputTarget],Expression1,Expression2,etc.) Parameter inside the square brackets is optional Parameters OutputTarget - an optional parameter; specifies an output target other then the PowerLanguage Editor Output Log; the parameter must be followed by a comma. There are two optional output targets: Printer Specifies the default printer as the output target. File("PathFilename") Where: PathFilename - a string expression specifying the path and filename Specifies an ASCII file as the output target; if the specified file does not exist, the file will be created. If OutputTarget is not specified, the output will be sent to the PowerLanguage Editor Output Log. Expression - a string, true/false, numerical series, or numerical expression; any number of valid expressions, separated by commas, can be used A string expression must be enclosed in quotation marks: "String Expression" A numerical expression can be formatted to specify the minimum number of characters, including the decimal point, and the number of decimal places, to be used for the output: Expression:C: D Where: C - minimum number of characters D - number of decimal places The default output format for a numerical expression is two decimal places and a minimum of seven characters. If the number of decimal places in the numerical expression is more than the specified number, the value will be will be rounded off to the specified number of decimal places. If the number of characters in the output is less than the specified minimum, leading spaces will be added to bring the output to the specified minimum value. Examples Print(.1); will print 0.10 in the PowerLanguage Editor Output Log, with three leading spaces inserted Print(1.555555:6:3); will print 1.556 in the PowerLanguage Editor Output Log, with one leading space inserted Print(Printer,"Print Test"); will send the string expression "Print Test" to the default printer Print(File("C: \test.txt"),CurrentDate,CurrentTime); will save the output of CurrentDate and CurrentTime to the test.txt file in the root directory of the C: hard drive .
When the chart is being printed, how can we print a lable on the screen. I am writing some indicator which plots the dot using the Plot1 Method. I want some text written on top of the dot something like "Pivot High (1.3531)" in my case. I want the text as a label.
CANDLE PATTERN CODE CONVERTED TO EASYLANGUAGE by STRATOPT, INC 2008 modified by TAMS date: 20090201 prints pattern name on bottom of chart date: 20090211 added option to print log date: 20090220 added commentary date: 20090412 added option NOT to print pattern name, (ie. show pattern name only when you click on the bar) MC version can adjust text size (MC = MultiCharts) note: 1. if you don't believe in seeing the candle names, please move on. 2. this indicator has been tested in MultiCharts. If you don't know how to import it into TradeStation, please spend 5min with your user's guide. CANDLE_PATTERN_20090412.txt CANDLE_PATTERN_20090412_MC_version.txt
Scan Print (for use in scanner at EOD) this indicator is for demonstration purpose only Description: This indicator scans the last bar on the chart, if the close is higher than previous bar's high, it will make a printout to a) the Output log window, b) the printer, or c) a file. The criteria can easily be modified to create different stock filters. In the spirit of Pay-Forward, You are invited to post your enhancements. discussions on the PRINT command: http://www.traderslaboratory.com/forums/f56/print-easylanguage-6000.html#post68550 Scan_Print_(MultiCharts).pla Scan_Print.txt