Hello,
I have an important question.
With ProOrder, trades are triggered when a new candle opens.
Is it possible to take a trade without waiting for the candle to close?
For my robots I would like to take trades:
– As soon as the price breaks the highest of the previous candle.
– As soon as the price rebounds on an SMA20.
Simple example to use a pending order on a dynamic price level (SMA20):
timeframe(15 minutes) //timeframe of the moving average, change with your desired timeframe
avg = average[20](close)
timeframe(10 seconds) //10 seconds or whatever timeframe/time period you want the pending order to be updated
if not longonmarket and close>avg then //not on market and price is above the SMA20
buy 1 contract at avg limit //put a pending order on average 20
endif
Every 10 seconds, a pending limit order will be set at the exact price of the 15-minutes TF SMA20.
Hello i tried to do so but it keeps giving me this error:
can u help me out?
thanks 600
@Amr600
do not double post!
AND
do not append your questions to exixting unrelated topics. Start a new one, instead.
Thank you 🙂
You question has already been addressed.