Hello trades and coders,I have an EA and I need to finish it( upgrade it) but I lack the skills to do it so I was wondering if anybody can help me with it?
Let me first explain my system that I traded manually and after that I will tell what I need help with ok?
SYSTEM:
I am trading on crossover of SMMA 50 and EMA 3 ,trading it on 4 pairs EUR/USD, GBP/USD,USD/JPY,AUD/USD , time frame I use is M5 but can be used on any timeframe I belive I just didint tested it.
GOAL for the day is 750 points ( 187 points from each of the pairs)
SL=150 / if the candle closes above SMMA 50 and is <150
TP=187
EURUSD,GBPUSD,USDJPY = trading 0-24 (fixed spread)
AUDUSD = trading from 8-22 ( night spread)
Rules:
-if on the first trade any pair hits 187 TP that pair is out for the day
-if a pair losses the loss is added to TP ,if for example SL is hit take profit now is 337,if it loses again its 487...
but, if the loses are >350 points the take profit should be that same value .
I hope I explained it well enough.
So This is what I need help with :
If loss<350 ,add that loss to take profit
if loss >=350 make that value a takeprofit (*)
if takeprofit(*) is hit cycle repets and takeprofit is back to 187.
if Takeprofit 187 is hit = stoptrading for the day ( devide by 0 is the way i think)
Hopefully somebody can help I know there Is a lot of good programmers on this forum.
if you have any questions please ask!
thank you
Let me first explain my system that I traded manually and after that I will tell what I need help with ok?
SYSTEM:
I am trading on crossover of SMMA 50 and EMA 3 ,trading it on 4 pairs EUR/USD, GBP/USD,USD/JPY,AUD/USD , time frame I use is M5 but can be used on any timeframe I belive I just didint tested it.
GOAL for the day is 750 points ( 187 points from each of the pairs)
SL=150 / if the candle closes above SMMA 50 and is <150
TP=187
EURUSD,GBPUSD,USDJPY = trading 0-24 (fixed spread)
AUDUSD = trading from 8-22 ( night spread)
Rules:
-if on the first trade any pair hits 187 TP that pair is out for the day
-if a pair losses the loss is added to TP ,if for example SL is hit take profit now is 337,if it loses again its 487...
but, if the loses are >350 points the take profit should be that same value .
I hope I explained it well enough.
So This is what I need help with :
If loss<350 ,add that loss to take profit
if loss >=350 make that value a takeprofit (*)
if takeprofit(*) is hit cycle repets and takeprofit is back to 187.
if Takeprofit 187 is hit = stoptrading for the day ( devide by 0 is the way i think)
Hopefully somebody can help I know there Is a lot of good programmers on this forum.
if you have any questions please ask!
thank you