Completed

Create a Tradingview Strategy

1. The following strategy must be written and tested using v5 Pine Script for Tradingview.

2. It must be capable of backtesting and replaying in Tradingview, i.e, the Heiken Ashi candle data must pull from the Security function.

3. No repainting is allowed during or after backtesting.

4. The entry and exit trade prices must come from the actual price action, not the smoothed Heiken Ashi candle data. The trade entries and exits will show on the chart’s standard candle view.

5. Inputs and Properties for the strategy must include:

a. Adjustable Simple Moving Average (SMA)

b. Initial Capital selection

c. Base Currency selection

d. Order Size selection

e. Pyramiding selection

f. Commission selection

g. Take Profit – adjustable %

h. Stop Loss – adjustable %

i. Adjustable entry and exit dates for the strategy

6. The trade entry/exits will be marked on the chart as follows:

a. Below the candle: an Arrow and “Long” displayed for entering a long entry

b. Below the candle: an Arrow and “Exit Long” displayed for exiting a long entry

c. Above the candle: an Arrow and “Short” displayed for entering a short entry

d. Above the candle: an arrow and “Exit Long” displayed for exiting a short entry

Strategy Algorithm:

1. Long Trade:

a. Trade Entry on:

The close of the 1st green Heikin Ashi candle

b. Trade exits:

i. The close of the 1st red Heiken Ashi candle,

or

ii. The close of the 3rd consecutive green Heiken Ashi candle - if the price is below the SMA,

or

iii. The close of the 9th consecutive green Heiken Ashi candle - if the price is above the SMA,

or

iv. The input defined Take Profit % is reached,

or

v. The input defined Stop Loss % is reached.

2. Short Trade:

a. Trade Entry on:

The close of the 1st red Heikin Ashi candle

b. Trade exits:

i. The close of the 1st green Heiken Ashi candle,

or

ii. The close of the 3rd consecutive red Heiken Ashi candle - if the price is above the SMA,

or

iii. The close of the 9th consecutive red Heiken Ashi candle - if the price is below the SMA,

or

iv. The input defined Take Profit % is reached,

or

v. The input defined Stop Loss % is reached.

Skills: Pine Script, Trading, Algorithm

About the Client:
( 9 reviews ) Orlando, United States

Project ID: #34052132

Awarded to:

adecrypto

Good day prospective client. I am a senior software developer who is the majorly on creating trading software/bot, some of which include: - MetaTrader 4,5 Indicator and Expert Advisor - Ninjatrader 7/8 indicators and More

$250 USD in 3 days
(20 Reviews)
6.8

5 freelancers are bidding on average $228 for this job

(3 Reviews)
3.9
ARrowofTime

Hi I can start to work right now. Please check my portfolio I can do: Indicator/strategy Backtesting: Spot, margin, combined spot and margin, leverage, liquidation, partial order… Visualization Alerts Multiple indicato More

$250 USD in 10 days
(4 Reviews)
2.8
adeelancey

I have almost 10 years of experience in developing algorithmic trading solutions for traders on many platforms. Currently my specialization is in the development of indicators and Expert Advisors (EA) for Metatrader 4 More

$250 USD in 2 days
(1 Review)
2.0
ubabatunde52

!!!! Let Me Help You to Earn Profit through Implementation of Your Ideas !!!! Dear sir or madam, I read job description very carefully. I already did similar projects to this job successfully. I have expertise with Me More

$250 USD in 7 days
(0 Reviews)
0.0