สูตรสำหรับ Metastock ครับ
BuyPrice:=ValueWhen(1,Bullish AND Ref(Bearish,-1),Upper);
ProfitLong:=((C-BuyPrice)/BuyPrice);
SellPrice:=ValueWhen(1,Bearish AND Ref(Bullish,-1),Lower);
ProfitShort:=((SellPrice-C)/SellPrice);
BuyPrice; SellPrice;
ใช้ยังไงครับ