Lavoro terminato
Specifiche
1‐ Printing on Chart: As per attached picture
2‐ Optimize code for fastest testing possible
3‐ Fix trading after stoploss bug as indicated in the pictures – after stoploss EA to start trading using original cycle and not exit strategy.
4‐ EA Functionality:
a. Trading start with Original Cycle using “original Cycle slope “by choosing trading with every candle or by no. of pips. If by
no. of pips then EA to open cycle immediately after previous cycle is closed and not wait for more pips to be achieved.
b. If Positions Close, then start new cycle (step a)
c. EA will start “Exit Strategy “and start using “Exit strategy Slope” if any of the 2 following conditions are achieved combined
or separately:
i. Parameter: No. of Positions exceed set number (Condition 1)
ii. Parameter: Drawdown to activate (Condition 2)
d. If Cycle Close, then start new cycle (step a)
e. StopLoss : EA will close cycle by profit or loss if any of the following 3 conditions meet combined or separately:
i. Parameter: No. of open positions exceed set number (Condition 1)
ii. Parameter: Drawdown reach certain amount in Dollars (Condition 2)
iii. Parameter: Slope Direction Line indicator is reversed ‐ Original Cycle Slope (Condition 3)
f. EA to start new cycle (step a)
Parameters:
Time Filter:
1‐ Weekly Start Day : Drop Down list Monday to Friday – First day in the week to open new positions
2‐ Weekly End Day : Drop Down list Monday to Friday – Last Day in the week to open new positions
3‐ Daily Start Hour : hour when EA will start opening new positions
4‐ Daily End Hour : Hour when EA will stop opening new cycles and will keep and manage existing ones as per “Close ALL by end hour”
parameter
5‐ Close All by Daily End Hour: TRUE OR FALSE
6‐ Weekly Close All: TRUE OR FALSE –
a. if True then EA will close all positions at loss or profit by two parameters:
i. Weekly End Day (2)
ii. Weekly Close Hour (7)
7‐ Weekly Close All Hour: Close all positions by this hour and wait for new Weekly start day (1) and weekly start hour to start opening
positions again.
Original Cycle
1‐ Slope direction line period: Buy or Sell as per slope direction line color
2‐ Trading Style (drop down list):
a. Open every candle: ( Open position at the open price of every candle )
b. Open by no. of pips: ( Open positions after number of pips distance – parameter no. (3)
3‐ No. of Pips: (distance between each position ‐ if 0 then not active)
4‐ TP of Cycle $ : Desired take profit value of total cycle in dollars
5‐ Sell below slope only: (True or False) – check attached pictures
6‐ Buy above slope only: (True or False) – check attached pictures
Exit Strategy:
1‐ No. of positions to activate Exit : ( if 0 then not active)
2‐ Drawdown $ to activate Exit : ( if 0 then not active)
3‐ Slope direction line period:
4‐ Exit Strategy TP : (if zero then no profit needed or breakeven with last account equity)
5‐ Exit Strategy every position TP
Stop Loss :
1‐ No. of open positions to activate SL : ( if 0 then not active)
2‐ Drawdown $ to activate SL: ( if 0 then not active)
3‐ Slope Direction Line reversal: ( if 0 then not active)