Trading Rule Types:

Trading rule types that can be entered under Options… -> Trading Rules tab can be found here. Note that only non “R_” type rules can be entered from here. All rules that begin with the prefix “R_” must be entered in the appropriate window form. This list of available rules below are those available currently. If you would like to request a new trading rule please contact us with a description of your request. Note that you can compare a minimum of two trading rules or up to three trading rule definitions to create one rule.

  1. Value: To create a trading rule with a set numeric value to compare to simply leave the trading rule as blank and select a comparator < or > and enter the value below the rule definition in the numeric box. For example select a rule type under rule definition (#3) and select a comparator to the left then enter a value in the numeric box under (#2). For example setting (#3) to Ask Price and selecting < as comparator to the left then entering a value of 10 in the numeric box under #2 it will create a rule that compares for “10<Ask Price”.
  2. Ask Price: To create a trading rule to compare the current ask price of the stock select this as the rule definition.
  3. Bid Price: To create a trading rule to compare the current bid price of the stock select this as the rule definition.
  4. Open Price: To create a trading rule to compare the open price of the stock select this as the rule definition.
  5. Close Price: To create a trading rule to compare the close price of the stock select this as the rule definition.
  6. Last Price: To create a trading rule to compare the last traded price of the stock select this as the rule definition.
  7. Avg Price(Period): To create a trading rule to compare the average price of the stock over the set number of periods use this as the rule definition. A window will appear where you can enter the period (in minutes) the bot will use to calculate the average price of the stock over the set number of periods. For example if you enter 10 as the period the bot will automatically calculate the average price of the stock over the last 10 minutes (periods) and use this number as the rule definition. Trading Strategy: For example to enter a buy order when stock price is greater than average price of the stock over the last 10 minutes, enter Buy under #1 of rule definition, Avg Price(10) for #2 of rule definition, (less than <) as the comparator and Last Price for #3 of rule definition then click #5: Add This Rule.
  8. Volume: To create a trading rule to compare the current one minute volume of the stock select this as the rule definition. This is a number equaling the volume over the last one (1) minute period.
  9. Avg Volume(Period): To create a trading rule to compare the average volume of the stock over the set number of periods use this as the rule definition. A window will appear where you can enter the period (in minutes) the bot will use to calculate the average volume of the stock over the set number of periods. For example if you enter 10 as the period the bot will automatically calculate the average volume of the stock over the last 10 minutes (periods) and use this number as the rule definition. Trading Strategy: For example to enter a buy order when stock volume is greater than average volume of the stock over the last 10 minutes, enter Buy under #1 of rule definition, Avg Volume(10) for #2 of rule definition, (less than <) as the comparator and Volume for #3 of rule definition then click #5: Add This Rule.
  10. Total Volume: To create a trading rule to compare the total volume of the stock select this as the rule definition. This value is the running total trading volume of the stock for the day.
  11. Daily Avg Volume(Period): To create a trading rule to compare the average daily volume of the stock over the set number of periods use this as the rule definition. A window will appear where you can enter the period (in days) the bot will use to calculate the average volume of the stock over the set number of periods. For example if you enter 10 as the period the bot will automatically calculate the average volume of the stock over the last 10 days (periods) and use this number as the rule definition. Trading Strategy: For example to enter a buy order when total volume for today  is greater than daily average volume of the stock over the last 10 days, enter Buy under #1 of rule definition, Daily Avg Volume(10) for #2 of rule definition, (less than <) as the comparator and Total Volume for #3 of rule definition then click #5: Add This Rule.
  12. RSI: To create a trading rule to compare the RSI value (uses standard calculation of RSI using one minute values) of the stock select this as the rule definition.
  13. SMA: To create a trading rule to compare the SMA value (uses standard calculation of SMA using one minute values) of the stock select this as the rule definition.
  14. SMA(Period): To create a trading rule to compare the SMA value of the stock over the set number of periods use this as the rule definition. A window will appear where you can enter the period (in minutes) the bot will use to calculate the average price of the stock over the set number of periods. For example if you enter 10 as the period the bot will automatically calculate the SMA value of the stock over the last 10 minutes (periods) and use this number as the rule definition. Trading Strategy: For example to enter a buy order when SMA is greater than SMA(Period) of the stock over the last 10 minutes, enter Buy under #1 of rule definition, SMA(10) for #2 of rule definition, (less than <) as the comparator and SMA for #3 of rule definition then click #5: Add This Rule.
  15. ADX: To create a trading rule to compare the ADX value (uses standard calculation of ADX using one minute values) of the stock select this as the rule definition.
  16. MACD: To create a trading rule to compare the MACD value (uses standard calculation of MACD using one minute values) of the stock select this as the rule definition.
  17. MACD_Signal: To create a trading rule to compare the MACD Signal line value (uses standard calculation of MACD Signal line using one minute values) of the stock select this as the rule definition.
  18. Bollinger Upper:  To create a trading rule to compare the Bollinger Upper line value (uses standard calculation of Bollinger Upper line using one minute values) of the stock select this as the rule definition.
  19. Bollinger Lower:  To create a trading rule to compare the Bollinger Lower line value (uses standard calculation of Bollinger Lower line using one minute values) of the stock select this as the rule definition.
  20. VWAP:  To create a trading rule to compare the VWAP value (uses standard calculation of VWAP using one minute values) of the stock select this as the rule definition.
  21. Awesome_Osc(Period1,Period2): To create a trading rule to compare the Awesome Oscillator of the stock over the set number of periods use this as the rule definition. A window will appear where you can enter the period (in minutes) the bot will use to calculate the Awesome Oscillator of the stock over the set number of periods.
  22. Awesome_UpDown(Period1,Period2): To create a trading rule to compare the Awesome Oscillator of the stock over the set number of periods use this as the rule definition. A window will appear where you can enter the period (in minutes) the bot will use to calculate the Awesome Oscillator of the stock over the set number of periods.
  23. EMA(Period): To create a trading rule to compare the EMA value of the stock over the set number of periods use this as the rule definition. A window will appear where you can enter the period (in minutes) the bot will use to calculate the EMA value of the stock over the set number of periods.
  24. Stoch_K(Period,Signal,Smoothing): To create a trading rule to compare the Stochastic K value of the stock over the set number of periods use this as the rule definition. A window will appear where you can enter the period (in minutes), the signal value, and the smoothing value the bot will use to calculate the Stochastic K value of the stock over the set number of periods.
  25. Stoch_D(Period,Signal,Smoothing): To create a trading rule to compare the Stochastic D value of the stock over the set number of periods use this as the rule definition. A window will appear where you can enter the period (in minutes), the signal value, and the smoothing value the bot will use to calculate the Stochastic D value of the stock over the set number of periods.
  26. Stoch_J(Period,Signal,Smoothing): To create a trading rule to compare the Stochastic J value of the stock over the set number of periods use this as the rule definition. A window will appear where you can enter the period (in minutes), the signal value, and the smoothing value the bot will use to calculate the Stochastic J value of the stock over the set number of periods.
  27. Vortex_Positive(Period): To create a trading rule to compare the Vortex Positive value of the stock over the set number of periods use this as the rule definition. A window will appear where you can enter the period (in minutes) the bot will use to calculate the Vortex Positive value of the stock over the set number of periods.
  28. Vortex_Negative(Period): To create a trading rule to compare the Vortex Negative value of the stock over the set number of periods use this as the rule definition. A window will appear where you can enter the period (in minutes) the bot will use to calculate the EMA value of the stock over the set number of periods.
  29. Vortex_Diff(Period): To create a trading rule to compare the Vortex Difference (Positive minus Negative) value of the stock over the set number of periods use this as the rule definition. A window will appear where you can enter the period (in minutes) the bot will use to calculate the Vortex Difference (Positive minus Negative) value of the stock over the set number of periods.

More rule types are added periodically. If you would like to request a new rule type please contact us.

 

STSBot.com