need help to code strategy increase decline 1%

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #26093 quote
    joshali
    Participant
    Average

    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%

    #26128 quote
    Nicolas
    Keymaster
    Master

    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.

    #26318 quote
    joshali
    Participant
    Average

    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.

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.

need help to code strategy increase decline 1%


ProOrder: Automated Strategies & Backtesting

New Reply
Author
author-avatar
joshali @joshali Participant
Summary

This topic contains 2 replies,
has 2 voices, and was last updated by joshali
9 years ago.

Topic Details
Forum: ProOrder: Automated Strategies & Backtesting
Language: English
Started: 02/22/2017
Status: Active
Attachments: No files
Logo Logo
Loading...