Welcome to the BEST forum for traders

Did you know we're sharing tons of exclusive content here?
Our community is growing quickly. Take a look around and say "Hello".

Buy positions every 1% price development

Jan 16, 2023 - 6:35 PM

Viewed 588 times

https://best-trading-indicator.com/community/bti/forums/4180/topics/1599853 COPY
  • Hello all,

    I am currently trying to find a solution for the following case:

    I want buy positions every time the chart moves 1% up or 1% down (Intraday). And these positions should be closed by taking 1% profit. So TakeProfit at 1% for every entry position. No StopLoss.

    Somehow i guess it is not that comlicated to write the script for, but i am still missing lots of basics.

    I would appriciate a lot if someone could find a solution or give any tipps for my problem.

    0
  • Hi there

    I would retrieve the close value of the first candle of the day, then test whenever we're 1% above or below that value

    The first intraday candle time is different for stocks vs other assets

    You'll find more information from the official documentation: https://www.tradingview.com/pine-script-reference/v5/

    0
CONTENTS