PDA

View Full Version : Reference Samples


  1. Table Of Contents
  2. Strategy: Modifying the price of stop loss and profit target orders
  3. Strategy: Monitoring for and trading a breakout
  4. Strategy: Trading crossovers
  5. Strategy: Using multiple entry/exit signals simultaneously
  6. Strategy: Using a time filter to limit trading hours
  7. Indicator: Multi-Colored Plots
  8. Indicator: Drawing unique objects and objects that update
  9. Indicator: Creating a user-defined parameter type (enum)
  10. Indicator: Using StreamWriter to write to a text file
  11. Indicator: Using StreamReader to read from a text file
  12. Indicator: Using System.IO File properties to write to and read from a text file
  13. Indicator: Creating your own Level II data book
  14. Strategy: Synchronizing a DataSeries object to a secondary time frame
  15. Strategy: Scaling out of a position
  16. Strategy: Using trade performance statistics for money management
  17. Indicator: Coloring a region
  18. Indicator: Removing and Custom Formatting an Indicator’s Chart Label
  19. Strategy: Halting a Strategy Once User Defined Conditions Are Met
  20. Indicator: Exposing indicator values that are not plots
  21. Strategy: Entering on one time frame and exiting on another
  22. Strategy: Monitoring Stop-Loss and Profit Target Orders
  23. Indicator: Using custom events to output the current Level II data book
  24. Strategy: Plotting from within a NinjaScript Strategy
  25. Strategy: Backtesting NinjaScript Strategies with an intrabar granularity
  26. Indicator: Using a DataSeries object to store calculations
  27. Strategy: Using OnOrderUpdate() and OnExecution() methods to submit protective orders
  28. Indicator: Calculating the highest high or lowest low for a specified time range
  29. Indicator: Using Try-Catch Blocks
  30. Strategy: Using User Variables in the Strategy Wizard
  31. Strategy: Using CancelOrder() method to cancel orders
  32. Strategy: Removing draw objects from the chart
  33. Strategy: Rounding values to the nearest tick size
  34. Strategy: Getting PnL from an ATM strategy
  35. Strategy: Keeping orders alive
  36. Indicator: Changing fonts for draw objects
  37. Indicator: Manipulating string objects
  38. Indicator: Getting indicator values from a specified time
  39. Strategy: Resetting values at the beginning of new trading sessions
  40. Strategy: Stopping a strategy after consecutive losers
  41. Indicator: Manipulating DateTime objects
  42. Strategy: Using Rising and Falling conditions in the Strategy Wizard
  43. Strategy: Separating logic to either calculate once on bar close or on every tick
  44. Indicator: Ensuring indicator plots are valid before programmatically accessing them