0

For the purpose of reverse engineering a trading strategy I have a list of datetime of Buy and Sell signals on 5 min candle data. For the purpose of developing strategy from those signals have to plot those long & short signals on chart on 5 min candle chart using pine script. So how to plot those long & short entry signals on 5 min chart using pine script and in which datetime format.

The date & buy/sell will be like dictionary.

{long:['2022-08-30 07:25:00', '2022-08-30 07:30:00', '2022-08-30 07:35:00', '2022-08-30 07:45:00', '2022-08-30 08:10:00'],short:['2022-08-30 17:25:00', '2022-08-30 17:30:00', '2022-08-30 17:35:00']}

it is possible this datetime format can change into any format which is suitable for pine script.

ProgR
  • 155
  • 1
  • 11

0 Answers0