Notifications
Clear all

Selecting sell day

3 Posts
2 Users
1 Likes
302 Views
ZaQ
 ZaQ
(@rhanz)
Posts: 15
Active Member User
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
Topic Tags
joeffrenz
(@joeffrenz)
Posts: 7
Active Member User
 

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
ZaQ
 ZaQ
(@rhanz)
Posts: 15
Active Member User
Topic starter
 
Posted by: @joeffrenz

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
Share: