Attached is an hedged grid expert advisor that also trades when it is outside the keltner channel. Below is a description of the variables. It can only be used on demo accounts.
Trade_Keltner = if true then the EA will make a trade every 3 pips above the upper keltner channel and every 3 pips below the lower keltner channel.
Per_Trade_Stop_Loss = a stop loss for single trades.
Minimum_lots = the smallest lot size for example 0.1
Lots = the amount of lots to trade of the balance. 1 means one lot for every 1000 (10 % of 1 %)
Extra_Lots = After "Trade_Extra" the EA should use this lot size.
Start_Pips = If the prize doe example is 1.8000 when the EA starts trading and Start_Pips = 10 then the EA should place it's first buy position at 1.8010 and the first sell position at 1.7990.
Pips = The amount of pips the prize should drop or rise before making new sell or buy positions. If for example the first buy is at 1.8010 and pips = 5 then the EA will buy at 1.8015 1.8020 1.8025 and so on.
Trade_Extra = After this number of trades the EA will increase the lot size according to "Extra_Lots"
Pips_Target = If true then the EA will take profit based on number of pips earned.
Close_Pips = The number of pips to take in profit
Dollar_Target = If true then take profit in dollars
Close_Dollars = Profit per thousand. If for example account balance is 1000 and you type 1 then the EA will close all positions when the equity reach 1001
Pips_Stop = IF true then the EA will usee stop loss basede on number of pips
Pips_Loss =the amount of pips to use as stop loss.
Dollars_Stop = If true then the EA will use dollars as stop loss
Dollars_Loss = Stop loss per thousand. If account balance is 10000 and you type 200 then the EA will close all positions when equity reach 10000-10000/200=800. 10 means 1 % 100 means 10 % and 1000 means 100 %
Use_Time = If true then the EA will start trading at the specified time in "Start_Hour" and "Start_Min".
Panic = IF true then the EA will immediately close all orders
Stop_After_Profit = If true and "Use_Time" = true then the EA will stop trading for the day after having taken a loss or a profit, and it will start trading again at the same time the next day.
Reset = After this number of trades the grid will reset.
I think this EA is a very good news trading EA but I would like it to be able to trade profitably 24/7. Does anyone have an idea for how I can make the EA better? I think the EA should use more indicators but I don't know which ones.
Trade_Keltner = if true then the EA will make a trade every 3 pips above the upper keltner channel and every 3 pips below the lower keltner channel.
Per_Trade_Stop_Loss = a stop loss for single trades.
Minimum_lots = the smallest lot size for example 0.1
Lots = the amount of lots to trade of the balance. 1 means one lot for every 1000 (10 % of 1 %)
Extra_Lots = After "Trade_Extra" the EA should use this lot size.
Start_Pips = If the prize doe example is 1.8000 when the EA starts trading and Start_Pips = 10 then the EA should place it's first buy position at 1.8010 and the first sell position at 1.7990.
Pips = The amount of pips the prize should drop or rise before making new sell or buy positions. If for example the first buy is at 1.8010 and pips = 5 then the EA will buy at 1.8015 1.8020 1.8025 and so on.
Trade_Extra = After this number of trades the EA will increase the lot size according to "Extra_Lots"
Pips_Target = If true then the EA will take profit based on number of pips earned.
Close_Pips = The number of pips to take in profit
Dollar_Target = If true then take profit in dollars
Close_Dollars = Profit per thousand. If for example account balance is 1000 and you type 1 then the EA will close all positions when the equity reach 1001
Pips_Stop = IF true then the EA will usee stop loss basede on number of pips
Pips_Loss =the amount of pips to use as stop loss.
Dollars_Stop = If true then the EA will use dollars as stop loss
Dollars_Loss = Stop loss per thousand. If account balance is 10000 and you type 200 then the EA will close all positions when equity reach 10000-10000/200=800. 10 means 1 % 100 means 10 % and 1000 means 100 %
Use_Time = If true then the EA will start trading at the specified time in "Start_Hour" and "Start_Min".
Panic = IF true then the EA will immediately close all orders
Stop_After_Profit = If true and "Use_Time" = true then the EA will stop trading for the day after having taken a loss or a profit, and it will start trading again at the same time the next day.
Reset = After this number of trades the grid will reset.
I think this EA is a very good news trading EA but I would like it to be able to trade profitably 24/7. Does anyone have an idea for how I can make the EA better? I think the EA should use more indicators but I don't know which ones.
If slaughterhouses had glass walls, everyone would be a vegetarian!