Spezifikation
Hi,
First of all sorry for my english. But I’m learning everyday.
You probably know Murrey Math Lines indicator. I want an Expert Advisor that Works according to Murray Math indicator.
I use this Murrey Math lines indicator.
https://drive.google.com/file/d/0BwbornOcKKrCc1A5TU1jTGYxNEk/view?usp=sharing
In summary I Want to setup buy, price is every touch (-2/8) (-1/8) and (0/8) and sell price is every touch (+2/8) (+1/8) and (8/8) But ofcourse some conditions are required.
Most importand condition is price bar newer touch this Murrey lines before 100 bars(candles) forexample. I want to be able to choice how many bars.
I want to ea is auto placement take profit 1 murrey math lines level up or down.
Forexample price is touched the +1/8 line and newer touch this line in the past 100 bars. Ea open sell trade and goning to placement take profit 8/8 line, and placement to stop loss +2/8 line. Visaversa for -1/8 line.
Other importand condition is I want to be able to choice how many pips before open trades. Forexample I want to open sell trade when the price is touch +1/8 line but I want to open sell trade before 5 pips to +1/8 line. I should be able to choice how many pips.
Same way I should be able to choice take profit and stop loss placement how many pips before or after lines
Murrey math lines are cahange in two ways. Firts when the price is going to above +2/8 line or below to -2/8 line, İf this will happen octaves are reset and indicator creates new lines. Second murrey math indicator calculate 64 bar period for default setting. After 64 bars indicator calculate again and lines maybe change. But this is not importand for us. Ea must calculate just instantaneous values. İf the ea open sell trade when the price touch +2/8 line, ea musn’t change or close trade when the price go up to +2/8 line and levels are change.
I want to some inputs in my ea.
Choice lot size input. 0.01 lot, 0.1 lot etc
Choice Money managment. For example close trade -%5
Choice open trade time. For example open trade only after 08:00 GMT
Choice close trade time. For example close trade every friday 20:50 GMT
Choice dont trade time. For examle don’t open trade after 22:00 GMT
Take Profit / Stop Loss Flexibility
I want to able to choice Take profit / Stop Loss leves. For example when the price is touch 8/8 lines I shold be able to choice take profit level 7/8 or 6/8 or 5/8 all other lines and should be able to choice stop loss levels +1/8 or +2/8 and ofcource pips below or after options.
I want to see ea open trades for which line (+2/8, 8/8, -1/8 etc) in the comments sections
Thank you
Something like this in my mind
========================================================================
Magic Number: 12345
========================================================================
Lot Size: 0.01, 0.04, 0.2... etc
Money Managment: -%3 (Trade close)
========================================================================
Open trade condition: True / False (Default False)
Open trade only after: 08:00 GMT ( I want to able to choice exact time)
========================================================================
Close trade condition: True / False (Default False)
Close trade at: 21:00 GMT ( I want to able to choice exact time)
=======================================================================
Close trade friday condition: True / False (Default True)
Close trade every friday: 20:50 GMT ( I want to able to choice exact time)
========================================================================
Don’t open trade condition: True / False (Default True)
Don’t open trade friday after: 20:00 GMT ( I want to able to choice exact time)
=========================================================================
Trade Level +2/8
==========================================================================
Trade level: +2/8: True / False (Default False)
Trade: Buy / Sell (Default sell)
Price don’t touch This line in the past: 60 bars (I want to able to choice how many bars.)
Price don’t get closer in the past more than : 5 pips (I want to able to choice how many bars)
<<<< Above 2 conditions mean price never get closer +2/8 line more than 5 pips before 60 bars >>>>
If the price comes from above don’t open trade: True / False (Default True)
Open trade: After/Below/Equal (Default Below) İf the equal selected trade open exact +2/8 line value
How many pips: 5 pips (I want to able to choice how many pips)
Take Profit: +1/8 or 8/8 or 7/8 etc (All Murrey Lines) (Default +1/8)
Take profit: After/Below/Equal (Default Equal) (İf the equal selected take profit exact +1/8 line value)
How many pips: 5 pips
Stop Loss: Equal +1/8 range
Stop Loss: After/Below/Equal (Default After)
How many pips: 5 pips
=========================================================================
Trade Level +1/8
=========================================================================
Trade level: +1/8: True / False (Default True)
Trade: Buy / Sell (Default sell)
Price don’t touch This line in the past: 60 bars (I want to able to choice how many bars.)
Price don’t get closer in the past more than : 5 pips (I want to able to choice how many bars)
If the price comes from above don’t open trade: True / False (Default True)
Open trade: After/Below/Equal (Default Below)
How many pips: 5 pips
Take Profit: 8/8 or 7/8 or 6/8 etc (All Murrey Lines) (Default 8/8)
Take profit: After/Below/Equal (Default Equal)
How many pips: 5 pips
Stop Loss: +2/8
Stop Loss: After/Below/Equal (Default After)
How many pips: 5 pips
========================================================================
Trade Level 8/8
========================================================================
Trade level: 8/8: True / False (Default True)
Trade: Buy / Sell (Default sell)
Price don’t touch This line in the past: 60 bars (I want to able to choice how many bars.)
Price don’t get closer in the past more than : 5 pips (I want to able to choice how many bars)
If the price comes from above don’t open trade: True / False (Default True)
Open trade: After/Below/Equal (Default Below)
How many pips: 5 pips
Take Profit: 7/8 or 6/8 or 5/8 etc (All Murrey Lines) (Default 7/8)
Take profit: After/Below/Equal (Default Equal)
How many pips: 5 pips
Stop Loss: +1/8 or +2/8 (Default +1/8)
Stop Loss: After/Below/Equal (Default After)
How many pips: 5 pips
========================================================================
Trade Level 7/8
========================================================================
Trade level: 7/8: True / False (Default False)
Trade: Buy / Sell (Default sell)
Price don’t touch This line in the past: 60 bars (I want to able to choice how many bars.)
Price don’t get closer in the past more than : 5 pips (I want to able to choice how many bars)
If the price comes from above don’t open trade: True / False (Default True)
Open trade: After/Below/Equal (Default Below)
How many pips: 5 pips
Take Profit: 6/8 or 5/8 or 4/8 etc (All Murrey Lines) (Default 6/8)
Take profit: After/Below/Equal (Default Equal)
How many pips: 5 pips
Stop Loss: 8/8 or +1/8 or +2/8 (Default 8/8)
Stop Loss: After/Below/Equal (Default After)
How many pips: 5 pips
==========================================================================
Trade Level 6/8
==========================================================================
Trade level: 6/8: True / False (Default False)
Trade: Buy / Sell (Default sell)
Price don’t touch This line in the past: 60 bars (I want to able to choice how many bars.)
Price don’t get closer in the past more than : 5 pips (I want to able to choice how many bars)
If the price comes from above don’t open trade: True / False (Default True)
Open trade: After/Below/Equal (Default Below)
How many pips: 5 pips
Take Profit: 5/8 or 4/8 or 3/8 etc (All Murrey Lines) (Default 5/8)
Take profit: After/Below/Equal (Default Equal)
How many pips: 5 pips
Stop Loss: 7/8 or 8/8 or +1/8 (All Murrey Lines) (Default 7/8)
Stop Loss: After/Below/Equal (Default After)
How many pips: 5 pips
=========================================================
Trade Level 5/8
=========================================================
Trade level: 5/8: True / False (Default False)
Trade: Buy / Sell (Default sell)
Price don’t touch This line in the past: 60 bars (I want to able to choice how many bars.)
Price don’t get closer in the past more than : 5 pips (I want to able to choice how many bars)
If the price comes from above don’t open trade: True / False (Default True)
Open trade: After/Below/Equal (Default Below)
How many pips: 5 pips
Take Profit: 4/8 or 3/8 or 2/8 etc (All Murrey Lines) (Default 4/8)
Take profit: After/Below/Equal (Default Equal)
How many pips: 5 pips
Stop Loss: 6/8 or 7/8 or 8/8 (All Murrey Lines) (Default 6/8)
Stop Loss: After/Below/Equal (Default After)
How many pips: 5 pips
===============================================================
Trade Level 4/8
===============================================================
Trade level: 4/8: True / False (Default False)
Trade: Buy / Sell (Default sell)
Price don’t touch This line in the past: 60 bars (I want to able to choice how many bars.)
Price don’t get closer in the past more than : 5 pips (I want to able to choice how many bars)
If the price comes from above don’t open trade: True / False (Default True)
Open trade: After/Below/Equal (Default Below)
How many pips: 5 pips
Take Profit: 3/8 or 2/8 or 1/8 etc (All Murrey Lines) (Default 3/8)
Take profit: After/Below/Equal (Default Equal)
How many pips: 5 pips
Stop Loss: 5/8 or 6/8 or 7/8 (All Murrey Lines) (Default 5/8)
Stop Loss: After/Below/Equal (Default After)
How many pips: 5 pips
====================================================================
Trade Level 3/8
====================================================================
Trade level: 3/8: True / False (Default False)
Trade: Buy / Sell (Default Buy)
Price don’t touch This line in the past: 60 bars (I want to able to choice how many bars.)
Price don’t get closer in the past more than : 5 pips (I want to able to choice how many bars)
If the price comes from below don’t open trade: True / False (Default True)
Open trade: After/Below/Equal (Default Below)
How many pips: 5 pips
Take Profit: 4/8 or 5/8 or 6/8 etc (All Murrey Lines) (Default 4/8)
Take profit: After/Below/Equal (Default Equal)
How many pips: 5 pips
Stop Loss: 2/8 or 1/8 or 0/8 (All Murrey Lines) (Default 2/8)
Stop Loss: After/Below/Equal (Default After)
How many pips: 5 pips
===========================================================================
Trade Level 2/8
===========================================================================
Trade level: 2/8: True / False (Default False)
Trade: Buy / Sell (Default Buy)
Price don’t touch This line in the past: 60 bars (I want to able to choice how many bars.)
Price don’t get closer in the past more than : 5 pips (I want to able to choice how many bars)
If the price comes from below don’t open trade: True / False (Default True)
Open trade: After/Below/Equal (Default Below)
How many pips: 5 pips
Take Profit: 3/8 or 4/8 or 5/8 etc (All Murrey Lines) (Default 3/8)
Take profit: After/Below/Equal (Default Equal)
How many pips: 5 pips
Stop Loss: 1/8 or 0/8 or -1/8 (All Murrey Lines) (Default 1/8)
Stop Loss: After/Below/Equal (Default After)
How many pips: 5 pips
===============================================================================
Trade Level 1/8
===============================================================================
Trade level: 1/8: True / False (Default False)
Trade: Buy / Sell (Default Buy)
Price don’t touch This line in the past: 60 bars (I want to able to choice how many bars.)
Price don’t get closer in the past more than : 5 pips (I want to able to choice how many bars)
If the price comes from below don’t open trade: True / False (Default True)
Open trade: After/Below/Equal (Default Below)
How many pips: 5 pips
Take Profit: 2/8 or 3/8 or 4/8 etc (All Murrey Lines) (Default 2/8)
Take profit: After/Below/Equal (Default Equal)
How many pips: 5 pips
Stop Loss: 0/8 or -1/8 or -2/8 (Default 0/8)
Stop Loss: After/Below/Equal (Default After)
How many pips: 5 pips
================================================================================
Trade Level 0/8
================================================================================
Trade level: 0/8: True / False (Default True)
Trade: Buy / Sell (Default Buy)
Price don’t touch This line in the past: 60 bars (I want to able to choice how many bars.)
Price don’t get closer in the past more than : 5 pips (I want to able to choice how many bars)
If the price comes from below don’t open trade: True / False (Default True)
Open trade: After/Below/Equal (Default Below)
How many pips: 5 pips
Take Profit: 1/8 or 2/8 or 3/8 etc (All Murrey Lines) (Default 1/8)
Take profit: After/Below/Equal (Default Equal)
How many pips: 5 pips
Stop Loss: -1/8 or -2/8 (Default -1/8)
Stop Loss: After/Below/Equal (Default After)
How many pips: 5 pips
=====================================================================
Trade Level -1/8
=====================================================================
Trade level: -1/8: True / False (Default True)
Trade: Buy / Sell (Default Buy)
Price don’t touch This line in the past: 60 bars (I want to able to choice how many bars.)
Price don’t get closer in the past more than : 5 pips (I want to able to choice how many bars)
If the price comes from below don’t open trade: True / False (Default True)
Open trade: After/Below/Equal (Default Below)
How many pips: 5 pips
Take Profit: 0/8 or 1/8 or 2/8 etc (All Murrey Lines) (Default 0/8)
Take profit: After/Below/Equal (Default Equal)
How many pips: 5 pips
Stop Loss: -2/8
Stop Loss: After/Below/Equal (Default After)
How many pips: 5 pips
===========================================================================
Trade Level -2/8
===========================================================================
Trade level: -2/8: True / False (Default False)
Trade: Buy / Sell (Default Buy)
Price don’t touch This line in the past: 60 bars (I want to able to choice how many bars.)
Price don’t get closer in the past more than : 5 pips (I want to able to choice how many bars)
If the price comes from below don’t open trade: True / False (Default True)
Open trade: After/Below/Equal (Default Below)
How many pips: 5 pips
Take Profit: -1/8 or 0/8 or 1/8 etc (All Murrey Lines) (Default -1/8)
Take profit: After/Below/Equal (Default Equal)
How many pips: 5 pips
Stop Loss: Equal -1/8 range
Stop Loss: After/Below/Equal (Default After)
How many pips: 5 pips
=======================================================================
Trade Comments: True/False (Default True) Show which line trade in terminal. For example +2/8 or -1/8