STOP/LIMIT Orders with SET STOP LOSS

Forums ProRealTime English forum ProOrder support STOP/LIMIT Orders with SET STOP LOSS

Tagged: 

Viewing 11 posts - 16 through 26 (of 26 total)
  • #168087

    Hi, i use yuor indicator but it doesn´t follow the red line, it write this green line over and under the mittle of the Candle.

    I try your sistem too but no order will sets. I try adding this also on my working sistem “c4 = open[i] c3″ and it doesn´t work anymore.

    I need a horizontal limit order for 5 bars.

    It´s really hard to do.

    #168102

    It’s weird, my code should plot MORE than one “—“, up to 5 if all 5 previous bars are true, while the indicator in your pic always plots one.

    I think you should post an example, just text (no pics) even using eXcel, with several candles with their values and WHAT you want to see.

    Because you are always talking about 4-5 previous candles, but I’m not sure that’s waht you asked.

    If you want ONE signal to be repeated N time, then it’s very simple and requires no loops, just the use of SUMMATION.

    But I am awaiting your example before writing something that takes time and is not what you asked for.

     

    #168532

    Hi, I try to explain it better.

    I write an indicator but i wanna do it for an automatic trading sistem also. If an expansion Candle >= 15 pips the indicator Write “—-” in the middle of the next Bar. If the low of the Opened candle after the Candle >= 15  is <= of the middle level where the indicator have write “—-” the indicator is Solved, else it must write “—-” again on the next Bar until the low of the new Opened candle after the Candle >= 15  is <= of the middle level where the indicator have write “—-” the first time. All of this ca be make up to 5 times, if the condition doesnt´t verified after 5 Bars it can be stopped and must wait another Bar >= 15

    This is What i write… it work on a bullish bar and on a bearish bar.

    I made 2 Picture. The automatic trading sistem doesn´t need to set an order stop because the price is always > of the middle of the expansive Bar >= 15 pips.

    When the low of the Price go down to the writed “—-” that is an buy order limit, i go on market and doesn´t need placing another Limit Order.

    I hope you have understand.

    Thank you.

    #168538

    It’s not easy to understand, maybe the italian language would have helped (not anymore now, we can’t change it).

    I’ll check it better next monday.

     

    #168548

    Now I write a new code and it work on the next 5 Bar.

    I´m not sure if work when the market is open and after a Candle >= 15 draw only one “—-” on my chart.

    This condition c4 = low <= open[n] + c3 (showed in picture) i don´t know if I must do it whit break or another command. I need that if after [n] Bar ( [n]<5)  the low of the candle is <= at open[n] + c3 doesnt write “—” to barindex 5 but it stops itself.

    Thank you again.

    #168554

    I don´t know how but it is working a little bit now.

    It make an buy order limit and this will not disappear until the low reached the order level, and this also if the condition doesn´t appear after 1 Bar up to 5 Bar, then it stopped. But sometimes place order (see the red  X stamp) that i don´t nedd and i don´t unsterdand why it make this.

    #168557

    I could check your code and it uses unneeded iterations and variable c4 is not used.

    I think it’s better to start from scratch, provided you post the rules and details of what you want to achieve.

     

    #168579

    c4 is not used cause I don’t know how to explaine it on the code. =(

    I Show you what i mean on This Picture.

    Candlestick “0” is >= 15 Pips, then at Cadlestick “1” the sistem must set on buy limit order, on the middle of Candlestick “0”.
    Low of Candlestick “1” doesn’t reach the Limit order level. System must go on and Place a limit order on the Candlestick “2”
    Low of Candlestick “2” doesn’t reach the Limit order level. System must go on and Place a limit order on the Candlestick “3”
    Low of Candlestick “3” reach the Limit order level. We are now long on Market we don´t need to place another order anymore.
    The cycle can be stopped.
    If The Low Of the Candle After 5 Candlestick doesn´t reached the Order Limit leve ldon´t need to set another Limit Order.

    I hope that now you can undesrtand my issues.

    #168581

    Here you can see The line of the limit order.

    #168606

    It’s a strategy, why were you talking about an indictor?

    This is your strategy (I added TP to exit opened  trades) tested on DAX Daily TF:

     

     

    1 user thanked author for this post.
    #168613

    Thank You!! It work =) I write an indicator first to try to explane what I wanna do. Now I reached my objective.

    Thank you again Roberto.

Viewing 11 posts - 16 through 26 (of 26 total)

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