For example, you get a trade signal the previous day (EOD data) and you are looking to sell short if the price moves above yesterday's close.
Cond1= Ref(signal1,-1); Cond2=Ref(signal2,-1); Selllimit=Ref(C,-1); Want to sell short for a move above yesterday's close Sellprice=Min(Selllimit,H); Short = Cond1 and Cond2 and Cross(H(?), Selllimit); However, using the H seems incorrect since we don't know the high yet and also I am really just looking just looking for a trigger for any move above yesterday's close. I would appreciate a simple example of how to code this, if possible, with EOD data. Thanks
