My first code and strategy

Forums ProRealTime English forum ProOrder support My first code and strategy

Viewing 4 posts - 16 through 19 (of 19 total)
  • #10939

    Casper

    Just a postscript. I believe daily charts are the best ones to use for ichimoku so having all indicators in there right position could be holding back profit given the hourly indicators are inferior to daily I’m going to look at negating the chikou conditions and I would like to test for one bearish or bullish candle which like you is not working , would like to get to the bottom of the problem but not sure how to tackle. I’m also looking at stopping the strategy taking a second trade in the same direction after the first has been stopped out. I thought I had the solution to this by using for example:=

    once a=0

    then for a buy trade set a condition that a has to be <=0 and after entering trade reset a=1

    then for a sell trade set a condition that a has to be >=0 and after entering a sell reset a=-1

    this doesn’t seem to work

    #10940

    Hi John. Yes I know it was a lot to post, and some of it I would have liked to edit, but It was to late, so it became a bit of a mess. Also it’s my findings over at least 3 whole days in a few post, so I know what you mean.

    Anyway the main thing was that ver9.0 produced profit until Aug.2015 and then it kinda stuck the next year.

    Ver.9.5 is making profit this year 2016

    from ver.9.0 on 10th March13@:00 I have a buy with loss, SL reached.

    see scrndump

    #11762

    Hi Kasper,

    Was just doing some development of ichimoku and I reviewed your coding. I think there is an error in the calculation of chikou. The chikou should represent closing price 26 periods in arrears. Thus code should be chikou = close.  Subsequently, ChikouBelow = Close < SenkouSpanA[26] and Close < SenkouSpanB[26] or alternatively  ChikouAbove = Close > SenkouSpanA[26] and Close > SenkouSpanB[26]. Hope this makes sense?

    regards

    John

    #11770

    Hi John and thanks for pointing that out. yes I think you are right, but I must agree with you, I don’t think this is profitable on a smaller time frame, thus the zero bar issue. So I forgot this one, but it gave me a lot of experience for the coding part. Anyway the strategy I was trying to copy was this. https://www.youtube.com/watch?v=cyciDlv4xXc&list=PLzzsPhJMOBbkhOWjIDPKx89_R6YKYhNBE&index=23

    Cheers Kasper

Viewing 4 posts - 16 through 19 (of 19 total)

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