Hi
i am new with programming and need help i can only program direct with indicators.
i want code for
buy 1 contract when current candle increase 1% on 1 hour chart and sell when next candle goes to 0.40%.
short 1 contract when current candle fall 1% on 1 hour chart and exit short contract is 0.40%
trailing stop 0.25%
take profit 0.40%
I moved your topic to ProOrder support because it’s automatic trading related.
To test increase or decline of the price, you can use VARIATION instruction, which give you the percentage variation between selected price, for instance between the current candle close and the previous one:
var = variation(close)
Hope it helps you coding your trading strategy.
Hi Nicole
thanks for your response
i haven’t got any response from support team and still waiting for this and i also have sent email to them.
i can only make changes in variation as i don’t know anything about coding.
i only need if last candle increase by 1% sell 1 contract at market and if candle fall 1% buy at market. then i can play by increasing and decreasing percentage on different time
frames and take profit and stop loss.