Standard model to buy or sell when 3 day RSI turns |
The model triggers an automatic buy or sell signal when the price of the instrument is above x days moving average and the RSI in. The number of days to calculate the moving average can be set individually for each instrument in Indata script as shown below. The condition to generate a signal is that the price closed below the average the day before yesterday, and the price closed above the moving average yesterday. The buy signal is generated at market opening the day after. In the opposite way, a sell signal is generated when the price closed above the average the day before yesterday, but closed below the average yesterday. The sell signal is generated the day after at market opening.' These order models are not looped, and will make one single attempt, then disconnects themselves. |
How to configure and connect the order models |
Two parameters are available to set individually for each instruments, the first one is the number of days to calculate the moving average, and the second one is the amount to invest. The investment size is used to calculate the number of shares to buy. Note that the investment should be entered in the currency in which the particular instrument is traded in.
|
Connect the order models |
|