To write and debug a trading algorithm in C++ to be used with IG based on the following rules:
- Based on a streaming feed from IG, the program calculates the value of the RSI every minute
Prerequisites for a Long Position
- Once the RSI reaches 20, the algorithm starts a count
- If the RSI reaches 49 within 50 bars from the start of the count, then a Buy trade is initiated; if RSI 49 is reached if more than 50 bars elapses from the start of the count then no trade is made
- If a buy trade is made: Profit target RSI 66 Stop Loss: RSI RSI 40 or 3.3 Standard Deviations from entry price whichever comes first (Rolling Standard Deviation calculated over 50 periods)
- Over a 14 period rolling window, the algorithm checks the Price Gradient = total price gains / total price losses. If this gradient exceeds 2.5 or falls below 0.4 then no trade is initiated even if the above conditions are met.
Prerequisites for a short position
- Once the RSI reaches 80, the algorithm starts a count
- If the RSI reaches 51 within 50 bars from the start of the count, then a Sell trade is initiated; if RSI 51 is reached only after more than 50 bars has elapsed from the start of the count then no trade is made.
- If a sell trade is made: Profit target RSI 34 Stop Loss : RSI 73 or 3.2 standard deviations from entry price, whichever comes first ((Rolling Standard Deviation calculated over 50 periods)
- Over a 14 period rolling window, the algorithm checks the Price Gradient = total price gains / total price losses. If this gradient exceeds 1.5 or falls below 2/3 then no trade is initiated even if the above conditions are met.
Other points to note:
- When a position has been opened, no new positions should be opened
- Trade only during regular US stock market hours
- If any trade is unprofitable, the algorithm is not allowed to open a new position in the next 52 bars / periods
Apart from the gradient rule, the position is only opened if
For Buy Position:
Current price is at least 2 Standard Deviations (Standard Deviation calculated over 200 periods) away from the 200 period Moving Average (Simple) OR less than 0.5 Standard Deviations over the Moving Average
For Sell Positions:
Current price is at least 2 Standard Deviations above the 200 period MA or less than 0.5 St Devs below the MA
Hello hiring manager
I read your details and I understand is that you wish to develop algorithm in C++ to be used with IG.
Relevant Skills and Experience
We are expert in C Programming, C# Programming C++ Programming, Machine Learning, Software Architecture. If you wish to see our Software that we are develop in C++ so we can show you as you want.
Proposed Milestones
$150 USD - We will discuss in private message board.
I need to discuss with you more in detail to understand your requirement better way.
I have briefly checked the description on web development, and I can deliver as per the requirements however I need us to discuss for more clarity on the details, deadline and budget as well.
Relevant Skills and Experience
C++
Proposed Milestones
$155 USD - 1
Previous experience in writing trading algorithm
Relevant Skills and Experience
C++ and Trading API and like FIX protocol implentation
Proposed Milestones
$200 USD - to start
I have an idea how to solve it. I think, I can solve it in an efficient way and in the specified time
Relevant Skills and Experience
I have more than one year experience as a software developer and one of the best coder from my college.
Proposed Milestones
$155 USD - I can solve it in an efficient way and within the specified time
I designed trading algorithm myself and connected directly with the broker via its API. It is running with live data. This project is similar to what I have done previously.
Relevant Skills and Experience
C++, similar experience
Stay tuned, I'm still working on this proposal.