Recent content by clbradley17

  1. C

    How do I put an SMA on a Spread Differential Indicator to plot/code together for TS?

    Thanks so much for your help with the codes, TS Securities-Alexandra. I have asked the questions at the start of this thread and several other ?s at Tradestation, and rarely get a reply, and have seen other questions and threads started by others frequently there, that die on the vine with no...
  2. C

    How do I put an SMA on a Spread Differential Indicator to plot/code together for TS?

    Charlton, thanks so much for your help. Is there any way to code Bollinger Bands around 2 of the codes above, the spread differential + SMA at the top of the page, and the ADX + SMA ( the 2nd one with different lengths)? I'm pretty sure the upper and lower bands would be plotted on plot 3 and...
  3. C

    How do I put an SMA on a Spread Differential Indicator to plot/code together for TS?

    Thanks again so much for the speedy and accurate reply, Charlton. That code verifies perfectly in Tradestation as the first one for the Spread Dif + SMA did. I needed to use different lengths for the ADX and SMA, so thanks for showing both options. I'm guessing that if I wanted to use an...
  4. C

    How do I put an SMA on a Spread Differential Indicator to plot/code together for TS?

    Thanks Charlton. Your code did verify successfully for Tradestation. Was also trying to put an SMA on the same sub-graph/in the same code as ADX. The very short code for that is: inputs: Length( 14 ) ; variables: ADXValue( 0 ) ; ADXValue = ADX( Length ) ; Plot1( ADXValue, "ADX"...
  5. C

    How do I put an SMA on the Spread Differential to plot/code together for TS?

    How can I put a simple moving average on a spread differential indicator on the same plot underneath price, so the SMA isn't the SMA of the price, but of the spread differential indicator? The SpreadDif and SMA have to be in the same code too, don't they? This is the code for TS's Spread...
  6. C

    How do I put an SMA on a Spread Differential Indicator to plot/code together for TS?

    How can I put a simple moving average on a spread differential indicator on the same plot underneath price, so the SMA isn't the SMA of the price, but of the spread differential indicator? The SpreadDif and SMA have to be in the same code too, don't they? This is the code for TS's Spread...
  7. C

    TS Stochastic Crossover Strategy Code Help?

    Have a Stochastic Crossover Strategy Code for Tradestation that I need help with please. I need to add conditions that the stochastic slow k went to either less than 10 or just less than oversold before crossing back above the oversold line of 20 before buying, and also the opposite, that it...
  8. C

    TS Stochastic Crossover Strategy Code Help?

    Have a Stochastic Crossover Strategy Code for Tradestation that I need help with please. I need to add conditions that the stochastic slow k went to either less than 10 or just less than oversold before crossing back above the oversold line of 20 before buying, and also the opposite, that it...
  9. C

    TS JMA/DWMA Crossover Strategy Code and ?s

    I wasn't having any trouble verifying the JMA/DWMA Crossover Strategy code, but am looking for a JMA/JMA Crossover Strategy code that verifies. Mark Jurik says this is the code for JMA/JMA crossovers: Input: series(close), JMA_len1(7), JMA_phase1(50), JMA_len2(14), JMA_phase2(-50), vars...
  10. C

    JMA/DWMA Crossover Strategy Code for TS and ?s

    I wasn't having any trouble verifying the JMA/DWMA Crossover Strategy code, but am looking for a JMA/JMA Crossover Strategy code that verifies. Mark Jurik says this is the code for JMA/JMA crossovers: Input: series(close), JMA_len1(7), JMA_phase1(50), JMA_len2(14), JMA_phase2(-50), vars...
  11. C

    TS JMA/DWMA Crossover Strategy Code and ?s

    This is the JMA(Jurik)/DWMA Crossover Strategy Code for Tradestation, as written in the April Technical Analysis of Stocks and Commodities magazine: Input: series(close), JMA_len(7), { range: any value > 0 } JMA_phase(50), { range -100 ... +100 } DWMA_len(10); { range: any...
  12. C

    JMA/DWMA Crossover Strategy Code for TS and ?s

    This is the JMA(Jurik)/DWMA Crossover Strategy Code for Tradestation, as written in the April Technical Analysis of Stocks and Commodities magazine: Input: series(close), JMA_len(7), { range: any value > 0 } JMA_phase(50), { range -100 ... +100 } DWMA_len(10); { range: any...
  13. C

    Need Help with TS End of Day Exit Code

    Thanks StratOpt. I will try that, and here's a link to a Tradestation thread "How to Exit at End of Day", which says that SetExitOnClose will work with the "Custom Sessions" described in the link...
  14. C

    Need Help with TS End of Day Exit Code

    Hey. I have a code which works fairly well in backtesting, but there are bugs in most end of day exit strategy codes at Tradestation, and have noticed recently that SetExitOnClose just works in backtesting. What do I need to do to make sure I'm out by the end of the day or just before? Here's...
Top