Difference between revisions of "By"

From MultiCharts
Jump to navigation Jump to search
(Created page with "A Skip Word. Skip Words serve solely to improve the readability of PowerLanguage code and are skipped (ignored) during the compilation and execution. The use of Skip Words is...")
 
Line 3: Line 3:
 
   
 
   
 
==== Example ====
 
==== Example ====
<syntaxhighlight>The Skip Words in the example below are colored in red:  
+
The Skip Words in the example below are colored in red:  
  
If an Open is < than Close of 4 Bars Ago was Then Buy This Bar on Close;
+
<syntaxhighlight>If an Open is < than Close of 4 Bars Ago was Then Buy This Bar on Close;
 
If Plot1 does Cross Above a 1350 Then Sell From Entry("My Entry")Next Bar at the Market;</syntaxhighlight>  
 
If Plot1 does Cross Above a 1350 Then Sell From Entry("My Entry")Next Bar at the Market;</syntaxhighlight>  
 
   
 
   
  
 
[[Category:Skip Words]]
 
[[Category:Skip Words]]

Revision as of 12:24, 27 January 2012

A Skip Word. Skip Words serve solely to improve the readability of PowerLanguage code and are skipped (ignored) during the compilation and execution. The use of Skip Words is optional; they can be inserted anywhere within the PL code and will appear in red in PowerLanguage Editor.

Example

The Skip Words in the example below are colored in red:

If an Open is < than Close of 4 Bars Ago was Then Buy This Bar on Close;
If Plot1 does Cross Above a 1350 Then Sell From Entry("My Entry")Next Bar at the Market;