Hi,
I am testing a realtime trading signals efs.
I am having trouble testing targets and stops.
For example, if a long is triggered, a formula that checks for the first target could be:
if(close(0) > vEntry + 0.5 ) FirstTarget = true;
It is important for the formula to immediately trigger the “FirstTarget = true;” as soon as the target price is hit.
Question: Does close(0) capture the price action if it crosses in real time or should I use something else like the following functions:
Thanks
wayne
I am testing a realtime trading signals efs.
I am having trouble testing targets and stops.
For example, if a long is triggered, a formula that checks for the first target could be:
if(close(0) > vEntry + 0.5 ) FirstTarget = true;
It is important for the formula to immediately trigger the “FirstTarget = true;” as soon as the target price is hit.
Question: Does close(0) capture the price action if it crosses in real time or should I use something else like the following functions:
PHP Code:
getMostRecentAsk()
getMostRecentAskSize()
getMostRecentBid()
getMostRecentBidSize()
getMostRecentTrade()
high(0)
low(0)
close(0)
wayne
Comment