Pro7_EA
"EA is always OFF when user placed on the chart"
Improved "Jail_EA" explanations how it works:
EA have 4 options
1. Classic Pending Orders - single line entry No Times user input (Pending price to enter - BUY or SELL)
2. Range Sell Pending Orders - range entry from No trader user input (Pending price to enter SELL + Default pips for pending range)
3. Range Buy Pending Orders - range entry from No trader user input (Pending price to enter BUY - Default pips for pending range))
4. Color options - for Dash text and Buttons
EA have 3 buttons + Color options
1. OFF - ON switch
2. R S - switch (Range Sell)
3. R B - switch (Range Buy)
Color options for Lines, Buttons and Dash
1. Classic Pending Orders - single line orders ("Original EA settings)
user input "Trade Lot Size" - 0.01 minimum
user input "Number of minutes between trades"
user input "Max Slippage"
user input "Max Spread"
user input "Magic Number"
user input "Comment"
user input "Pending price to enter - SELL or BUY"
user input "Number of attempts EA will sell at price"
user input "Take profit in pips" - 0 mean NO TP
user input "Stop loss in pips" - 0 mean NO SL
user input "Break even if profit above this" - 0 mean NO BE
user click OFF - ON button - deactivated - activated EA drawn single entry line (Red for sell & Green for buy)
EA will wait for user to activate EA by clicking OFF button, button will change color to green and text to ON
EA will look for "CLASIC mode" ONLY if user didn't activated "R S" or "R B" button
EA will wait for price to hit user input "Pending price to enter"
EA will open No orders defined by "Number of attempts" on single line.
EA will wait for No minutes defined by "Number of minutes between trades" for next trade
EA will look after trade is open for TP, SL and BE user input and close ALL trades on TP, SL & BE when price hit that number - 0 means NO TP, SL and BE
EA repeat entry as long as is activated.
2. Range Sell - Pending Orders - range lines orders (Pending Sell and Sell Range Options")
user input "Trade Lot Size" - 0.01 minimum
user input "Max Slippage"
user input "Max Spread"
user input "Magic Number"
user input "Pending price to enter - SELL"
user input "Default pips for pending range"
user input "Number of attempts EA will sell at price" (if more than 2)
user input "Take profit in pips" - 0 mean NO TP
user input "Stop loss in pips" - 0 mean NO SL
user input "Break even if profit above this" - 0 mean NO BE
user input "Default pips for range MINIMUM 2 in "Number of attempts EA will sell at price"
user input "CommentSell"
user click "R S" button and by this activate Range Sell - EA drawn 2 red range lines (from price "Pending price to enter - SELL" UP "+" "Default pips for range") and pyramids lines in between (if more than 2)
user click OFF - ON switch button and by this activate EA
EA will look for "Range Sell mode" ONLY if user activated "R S" button, button will change color to green
EA will wait for user to activate EA by clicking OFF button, button will change color to green and text to ON
EA will wait for price to hit user input "Pending price to enter"
EA will open No orders defined by "Number of attempts" lines range when price hit drawn lines.
EA will look for after trade is open TP, SL and BE user input and close ALL trades on TP, SL & BE when price hit that number - 0 means NO TP, SL and BE
EA repeat entry as long as is activated.
3. Range Buy - Pending Orders - range lines orders ("Pending Buy and Buy Range Options")
user input "Trade Lot Size" - 0.01 minimum
user input "Max Slippage"
user input "Max Spread"
user input "Magic Number"
user input "Pending price to enter - BUY"
user input "Default pips for pending range"
user input "Number of attempts EA will buy at price" (if more than 2)
user input "Take profit in pips" - 0 mean NO TP
user input "Stop loss in pips" - 0 mean NO SL
user input "Break even if profit above this" - 0 mean NO BE
user input "Default pips for range MINIMUM 2 in "Number of attempts EA will buy at price"
user input "CommentBuy"
user click "R B" button and by this activate Range Buy - EA drawn 2 green range lines (from price "Pending price to enter - BUY" DOWN "-" "Default pips for range") and pyramids lines in between (if more than 2)
user click OFF - ON switch button and by this activate EA
EA will look for "Range Buy mode" ONLY if user activated "R B" button, button will change color to green
EA will wait for user to activate EA by clicking OFF button, button will change color to green and text to ON
EA will wait for price to hit user input "Pending price to enter"
EA will open No orders defined by "Number of attempts" lines range when price hit drawn lines.
after trade is open EA will look for TP, SL and BE user input and close ALL trades on TP, SL & BE when price hit that number - 0 means NO TP, SL and BE
EA repeat entry as long as is activated.
in terminal S/L & T/P is always 0.00 that means EA not active or MT4 shut down ORDERS WILL NOT BE CLOSED
broker doesn't have clue about you attentions that means they are virtual no pending orders, TP & SL are visible to broker
PS
test for bugs and report back. good luck
EA and manual is pined to first post.
future updated and bugs fix will be on first post
"EA is always OFF when user placed on the chart"
Improved "Jail_EA" explanations how it works:
EA have 4 options
1. Classic Pending Orders - single line entry No Times user input (Pending price to enter - BUY or SELL)
2. Range Sell Pending Orders - range entry from No trader user input (Pending price to enter SELL + Default pips for pending range)
3. Range Buy Pending Orders - range entry from No trader user input (Pending price to enter BUY - Default pips for pending range))
4. Color options - for Dash text and Buttons
EA have 3 buttons + Color options
1. OFF - ON switch
2. R S - switch (Range Sell)
3. R B - switch (Range Buy)
Color options for Lines, Buttons and Dash
1. Classic Pending Orders - single line orders ("Original EA settings)
user input "Trade Lot Size" - 0.01 minimum
user input "Number of minutes between trades"
user input "Max Slippage"
user input "Max Spread"
user input "Magic Number"
user input "Comment"
user input "Pending price to enter - SELL or BUY"
user input "Number of attempts EA will sell at price"
user input "Take profit in pips" - 0 mean NO TP
user input "Stop loss in pips" - 0 mean NO SL
user input "Break even if profit above this" - 0 mean NO BE
user click OFF - ON button - deactivated - activated EA drawn single entry line (Red for sell & Green for buy)
EA will wait for user to activate EA by clicking OFF button, button will change color to green and text to ON
EA will look for "CLASIC mode" ONLY if user didn't activated "R S" or "R B" button
EA will wait for price to hit user input "Pending price to enter"
EA will open No orders defined by "Number of attempts" on single line.
EA will wait for No minutes defined by "Number of minutes between trades" for next trade
EA will look after trade is open for TP, SL and BE user input and close ALL trades on TP, SL & BE when price hit that number - 0 means NO TP, SL and BE
EA repeat entry as long as is activated.
2. Range Sell - Pending Orders - range lines orders (Pending Sell and Sell Range Options")
user input "Trade Lot Size" - 0.01 minimum
user input "Max Slippage"
user input "Max Spread"
user input "Magic Number"
user input "Pending price to enter - SELL"
user input "Default pips for pending range"
user input "Number of attempts EA will sell at price" (if more than 2)
user input "Take profit in pips" - 0 mean NO TP
user input "Stop loss in pips" - 0 mean NO SL
user input "Break even if profit above this" - 0 mean NO BE
user input "Default pips for range MINIMUM 2 in "Number of attempts EA will sell at price"
user input "CommentSell"
user click "R S" button and by this activate Range Sell - EA drawn 2 red range lines (from price "Pending price to enter - SELL" UP "+" "Default pips for range") and pyramids lines in between (if more than 2)
user click OFF - ON switch button and by this activate EA
EA will look for "Range Sell mode" ONLY if user activated "R S" button, button will change color to green
EA will wait for user to activate EA by clicking OFF button, button will change color to green and text to ON
EA will wait for price to hit user input "Pending price to enter"
EA will open No orders defined by "Number of attempts" lines range when price hit drawn lines.
EA will look for after trade is open TP, SL and BE user input and close ALL trades on TP, SL & BE when price hit that number - 0 means NO TP, SL and BE
EA repeat entry as long as is activated.
3. Range Buy - Pending Orders - range lines orders ("Pending Buy and Buy Range Options")
user input "Trade Lot Size" - 0.01 minimum
user input "Max Slippage"
user input "Max Spread"
user input "Magic Number"
user input "Pending price to enter - BUY"
user input "Default pips for pending range"
user input "Number of attempts EA will buy at price" (if more than 2)
user input "Take profit in pips" - 0 mean NO TP
user input "Stop loss in pips" - 0 mean NO SL
user input "Break even if profit above this" - 0 mean NO BE
user input "Default pips for range MINIMUM 2 in "Number of attempts EA will buy at price"
user input "CommentBuy"
user click "R B" button and by this activate Range Buy - EA drawn 2 green range lines (from price "Pending price to enter - BUY" DOWN "-" "Default pips for range") and pyramids lines in between (if more than 2)
user click OFF - ON switch button and by this activate EA
EA will look for "Range Buy mode" ONLY if user activated "R B" button, button will change color to green
EA will wait for user to activate EA by clicking OFF button, button will change color to green and text to ON
EA will wait for price to hit user input "Pending price to enter"
EA will open No orders defined by "Number of attempts" lines range when price hit drawn lines.
after trade is open EA will look for TP, SL and BE user input and close ALL trades on TP, SL & BE when price hit that number - 0 means NO TP, SL and BE
EA repeat entry as long as is activated.
in terminal S/L & T/P is always 0.00 that means EA not active or MT4 shut down ORDERS WILL NOT BE CLOSED
broker doesn't have clue about you attentions that means they are virtual no pending orders, TP & SL are visible to broker
PS
test for bugs and report back. good luck
EA and manual is pined to first post.
future updated and bugs fix will be on first post
Attached File(s)
Pro7_EA.ex4
70 KB
|
426 downloads
Pro7_EA.mq4
44 KB
|
451 downloads
Forex can only be understood backwards, but it must be traded forwards.
3