Trigger price

Hello,

Is there a way to output/view the actual price that is triggered by the signal (scripting formula criteria).

Hi,

We have a few ways to do it. You could use the Value When function:

https://help.optuma.com/kb/faq.php?id=1048

Or the PRICEATSIGNAL() function.

Here is a quick example using a Moving Average Cross as the Trigger:

V1 = MA(BARS=25) ;
V2 = MA(BARS=50) ;
V3 = V1 CrossesAbove V2 ;
PRICEATSIGNAL(V3, PRICE=Close)

This will show the Closing Price of the chart when the 25SMA crosses above the 50SMA.

Hi Matt,

I’ve made up some new scripts by incorporating my specific criteria into the valuewhen condition, added those as columns and seems to be working as suggested. Many Thanks!