Stop triggered (Ichimoku)

Forums ProRealTime English forum ProOrder support Stop triggered (Ichimoku)

Viewing 4 posts - 1 through 4 (of 4 total)
  • #174880

    Hi

    I’m using the Ichimoku and I’d like to exit a short position if the close price of the previous candle goes above the Tenkan or Kijun lines + a few pips (yellow and orange lines on the picture). The problem is that the stop is triggered even if the price never goes up those two lines (see picture). The problem is caused by “(close[1] > KijunSen1[1]+ExitTenkanKijun*pipsize”. If I change [1] to [0] it works and doesn’t trigger the stop. Why ? The Tenkan part of the code doesn’t cause any problem. Thanks

     

     

    #174894

    I specify that if I write the price of the Kijunsen line instead of KijunSen1[1], it works well…

    #174898

    Solved, I had defined the tenkansen1 and Kijunsen1 variables outside the TIMEFRAME, without defining these variables for every timeframes

    2 users thanked author for this post.
    #174904

    Thanks very much for having given your solution to conclude this topic. Just a quick moderation point, please do not double post, even in 2 different forum languages, in order to respect the publication rules given in the yellow box at the bottom of this page, thanks (we’ll delete the topic in french forum, second after current one in chronoligical order).

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

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