Please do not reply without reading this completely to avoid wasting each other time.
EA should work both on candle stick charts and also in renko , it can be 2 different versions
I will require the source code
EA based on :
Bill Williams Alligator - Standard Mt4 indicator
Input - Standard inputs of the Bill williams indicator.
Entry BUY -
1. All three lines should be open and pointing towards up direction.
2.NO lines of the Alligator should be touching or crossing each other in any direction.
3. If rules 1 and 2 are true , then check the current price
If price is higher than the green line, then wait for pullback and enter
only enter if the price touches or lower than the Green line - lips
DO NOT ENTER:
1.If any lines of the indicator is touching each other or crossing each other in any direction
if green line touches the red line
1. if the position is in profit - close the position
Input - Hegde = true / false
2. if the position is in loss - hedge the position
Input - Hedge hard lock = true
Input - hedge hard lock pips = .. pips
Hedge - HARD LOCK
1. if the green line is not touching the red line , but the position goes to 100 pips loss - Hedge the position
NOTE : the hedge input and hard lock input - both should be able to enable TRUE at the same time.
Incase the position is locked with hedge hard lock , then no need to hedge because its already hedged.
Re - enter
if there is a open buy position , and the position is closed as per exit rules
Then if the lines open again , in the upper positon , if entry rules 1,2 and 3 conditions are met
a new buy can be opened
MANAGING THE HEDGED POSITIONS
Once a postion is hedged , the EA will not close the original position or the hedged position
BOTH the hedged positions will be managed manually
The EA WILL IGNORE THOSE POSITIONS and continue to look for new postions as per entry rules and continue.
Additional filter - do not open new positions
Trading hours : 0.00 to 23.59
Sound Alert = True /false
Push notifications = True / false