Notifications
Clear all
Topic starter
Is there a function to select on what day to sell (next day, after 2 days...)? I found "REF" but it counts backwards.
Ex.
1. I buy Monday and sell it next day (Tuesday) without any condition (whether price is higher or lower).
2. I buy Monday and sell it 3 days after (Thursday) without any condition (whether price is higher or lower).
Thanks!
Posted : 19/04/2021 3:58 pm
Hi ZaQ,
Try negative value
//Sell on the next day
Set Sell = Ref(Buy,-1)
//Sell after 3 days from buying point
Set Sell = Ref(Buy,-3)
Posted : 19/04/2021 7:50 pm
ZaQ reacted
Topic starter
Hi ZaQ,
Try negative value
//Sell on the next day
Set Sell = Ref(Buy,-1)//Sell after 3 days from buying point
Set Sell = Ref(Buy,-3)
Nice! Thank you!
Posted : 19/04/2021 9:25 pm