Forum on trading, automated trading systems and testing trading strategies
When you post code please use the CODE button (Alt-S)!

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
Hi everyone. I need help. I am trying to create a ea that will look through the open orders pool and if there is an open order it will modify the order to add both a take profit and stoploss. If there isn't an order it will just keep looking the time of the day is over. This is what I did so far. Its not working when I add it to my chart. Can someone help me or tell me why please?
#property copyright
#property link
extern double TakeProfit =50;