“Entry Signal” TOS to Prorealcode

Forums ProRealTime English forum ProBuilder support “Entry Signal” TOS to Prorealcode

Viewing 5 posts - 1 through 5 (of 5 total)
  • #243902

    Hi. Tried on my own but still can’t get what I’m looking for. This is an entry signal I use for options scalping on a 2min chart. Looks to be STC based, from my little knowledge.
    TOS script:
    input fastLength = 6;
    input slowLength = 50;
    input kperiod = 10;
    input dperiod = 3;
    input overboughtLevel = 75;
    input oversoldLevel = 15;

    def STC = SchaffTrendCycle(“fast length” = fastLength, “slow length” = slowLength, “k period” = kperiod, “dperiod” = dperiod);
    def STCCrossAboveOversold = STC > oversoldLevel and STC[1] <= oversoldLevel; plot UpArrow = if STCCrossAboveOversold then low - 2 else Double.NaN; UpArrow.SetPaintingStrategy(PaintingStrategy.BOOLEAN_ARROW_UP); UpArrow.SetLineWeight(1); UpArrow.SetDefaultColor(Color.UPTICK); ______________________________________________________ Not sure if needed or not, but here is the TOS STC script, incase its useful from the above reference: declare lower; input fastLength = 23; input slowLength = 50; input KPeriod = 10; input DPeriod = 3; input over_bought = 75; input over_sold = 25; input averageType = AverageType.EXPONENTIAL; def macd = MovingAverage(averageType, close, fastLength) - MovingAverage(averageType, close, slowLength); def fastK1 = FastKCustom(macd, KPeriod); def fastD1 = MovingAverage(averageType, fastK1, DPeriod); def fastK2 = FastKCustom(fastD1, KPeriod); plot STC = MovingAverage(averageType, fastK2, DPeriod); plot OverBought = over_bought; plot OverSold = over_sold; STC.SetDefaultColor(GetColor(8)); OverBought.SetDefaultColor(GetColor(7)); OverSold.SetDefaultColor(GetColor(7)); This is a pretty solid signal. Have used it successfully for months. Works very well trading SPX options in particular.

    #243903

    Forgot to attach a screenshot of signals.

    Thanks!

    #243905

    It occasionally throws false signals, but I use other indicators and price action to minimize poor entries.

    #244108

    This is the oscillator:

    And this is the indicator to be inserted on price chart:

    1 user thanked author for this post.
    #244150

    Thanks, Ivan. I got so excited to dig into them, I forgot to say thanks. Much appreciated!

Viewing 5 posts - 1 through 5 (of 5 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login