magefa

u/magefa


so I've used the most basic

bars = ib.reqHistoricalData(
    contract,
    endDateTime='',
    durationStr='3 M',
    barSizeSetting='1 hour',
    whatToShow='TRADES',
    useRTH=True,
    formatDate=1)

thing is, I'm getting the bars as follows: 09:30, 10:00, 11:00... i would expect to get 09:30,10:30,11:30 etc...

000 = {BarData} BarData(date=datetime.datetime(2024, 2, 5, 9, 30), open=34.59, high=35.21, low=34.43, close=35.01, volume=4036.33, average=34.883, barCount=2286)
001 = {BarData} BarData(date=datetime.datetime(2024, 2, 5, 10, 0), open=34.97, high=35.05, low=33.42, close=33.83, volume=3517.54, average=34.042, barCount=1769)
002
17

r/pinescript•

Hi,

a newbie here.

wrote a test script based on ema cross, for some reason i get strategy.entry alerts but not strategy.exit

On the example below, i've added an "Order fills" alert,

i did get the "Long cross entry" and "Short cross entry" alerts, but did not get the "Close short trail TP" that was triggered by my strategy.exit

any input would be much appreciated.

​

https://preview.redd.it/mxtsadawcem91.png?width=207&format=png&auto=webp&s=e30c7599e3eff96de33fa96cac2d7344daebefe0

https://preview.redd.it/e8od2ipgcem91.png?width=458&format=png&auto=webp&s=888e42c76aa71c6af313e3cf99aa458e74dfaa18

https://preview.redd.it/9j93n20zbem91.png?width=561&amp

12


r/tezos•

Hi friends, Is there any way to create an offline wallet? Create the address and the secret phrases offline so ill be the sole owner of this data?

Thanks in advance :)

814



r/MINI•

Hey guys, just bought a 2011 Cooper S :)

looking to service it before driving it and i'm confused about the oil types/standard...

I saw that there is BMW-LL01 and LL04 standards, can any one explain the difference and what should i use for my mini?

Thanks a lot!

33