NinjaScript > Editor > Automatically Inserting Actions and Conditions |
|
Using the image below for an example 1. After typing in "if (" right mouse button click and select "Insert Condition..." 2. The Condition Builder will appear which allows you to point and click to create conditions. Below we have build a condition that checks to see if the 5 period EMA has crossed above the 15 period EMA within the last bar.
4. The result is the code generated below.
|