Strategyprofit on fixed tp

Forums ProRealTime English forum ProOrder support Strategyprofit on fixed tp

Viewing 2 posts - 31 through 32 (of 32 total)
  • #211394

    It’s not tricky to make calculations. Starting from 1 lot, which is the default lotsize, you simply have to decrement (or increment) it so that, the first time or when Capital < Capital[1] a new LotSize is used to get 1.01 Capital (Capital + 1%)  when a 1.5% TP is reached, which is repeated until Capital > Capital[1] and LotSize is restored to the default size.

    It’s tricky to spot any 1.5% increase in a single trade, before the Daily closing at 213000.

    Anyway this is a modified version with new calculations:

     

    1 user thanked author for this post.
    #212094

    Thank you Roberto, thank you very much.

    I just got around to looking at your code today, but unfortunately it doesn’t do what it’s supposed to.
    It’s up to me to make it understandable to you what the code is supposed to do.
    So I’ll try it one more time, one last time, to bring in calm.

    The code should check after a trade if the capital is higher or lower than the ever reached maximum level of the capital.

    If so,
    we set the now reached (new) maximum level of the Capital as the new ever reached maximum level of the Capital (as a basis for calculation) and
    we continue the trade with lot size = 1

    If no,
    we calculate the lot size in such a way that when the take profit of the trade is reached, the ever reached maximum level of the capital increases by 1%. Because of the timestop, we will rarely reach the takeprofit of the trade, no problem. But if it is, all previous losses will be compensated and the capital will increase to 101%.

     

Viewing 2 posts - 31 through 32 (of 32 total)

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