NexusFi: Find Your Edge


Home Menu

 





a simple trade management EA


Discussion in Platforms and Indicators

Updated
    1. trending_up 2,060 views
    2. thumb_up 0 thanks given
    3. group 3 followers
    1. forum 3 posts
    2. attach_file 4 attachments




 
Search this Thread

a simple trade management EA

  #1 (permalink)
Sayounara
Yokohama South Korea
 
Posts: 120 since Nov 2012
Thanks Given: 100
Thanks Received: 81

here is an EA I made a few yrs ago, I'm sharing it for 2 reasons:

1. it might help somebody trade better, by speeding up their trading process a little bit.
2. I need help converting this to ACSIL, so that I could have more or less the same functionalities within SierraChart.

it has the following functionality:

1. it can place stop, limit or market orders, depending upon the last price.

for example, suppose that you want to buy at 1.0000. if last price is below that, then a buystop order is placed, otherwise a buylimit order is placed. if last price happens to be at 1.0000, then a market order is sent.

2. it automatically calculates the number of lots to be bought or sold for you.

there is a Max Risk parameter in the EA, you can set it to the exact dollar amount you'd like to risk for every trade. once it's set, the EA will calculate the maximum number of lots that can be sent for every order, based upon pip value and stoploss size.

for example, let's say you are risking no more tha $100 for a trade. the pip value for the instrument is $1 and the stoploss is 10 pips away from your entry price. the EA will set the number of lots to 10 and send the order for you.

3. it has visuals on the chat showing you all the relevant infos about your current open position, including entry price, lot size, dollar risk, running profit/loss, etc.


how it works:

1. place a Fib Retracement tool on the chart. it needs to be customised so that it has only 3 levels, 0, 50 and 100.
2. the 100 level is where you want you stop loss to be at, the 0 level is where you want your entry price to be at. the 50 level is used to display additional info.
3. manually edit the description of the fib to "AS", case insensitive, without the quotation marks. this is to prevent accidently placing orders.
4. it's more convenient if you go to the Tools->options->objects, and enable Show Properties after Creation.
5. the EA will take care of the rest.

here is a screenshot:



Attached Files
Elite Membership required to download: _Chart.mq4
Elite Membership required to download: _Chart.ex4
Reply With Quote

Can you help answer these questions
from other members on NexusFi?
NexusFi Journal Challenge - May 2024
Feedback and Announcements
Better Renko Gaps
The Elite Circle
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
ZombieSqueeze
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Spoo-nalysis ES e-mini futures S&P 500
48 thanks
Just another trading journal: PA, Wyckoff & Trends
35 thanks
Tao te Trade: way of the WLD
25 thanks
Bigger Wins or Fewer Losses?
24 thanks
GFIs1 1 DAX trade per day journal
21 thanks
  #2 (permalink)
sensei
Malang, Indonesia
 
Posts: 11 since Dec 2014
Thanks Given: 0
Thanks Received: 1

thank's for share the trade management ea. these could be usefull for my news straddle entry trade. one think I concern related to fibo draw, how we define the swing high-low before getting into the line, in short which time frame do you prefer, at what amount chart (candlestick) fibo should coverage.

Reply With Quote
  #3 (permalink)
Sayounara
Yokohama South Korea
 
Posts: 120 since Nov 2012
Thanks Given: 100
Thanks Received: 81


the Fibonacci levels are not part of the EA at all. I only used the Fibs for visual purposes, it clearly shows my intended entry price and stoploss on the chart, that's also why you have to type "AS" into the description field as soon as the fib is created, so that the EA can recognize it for the purpose of entry and exit, instead of just normal fibonacci levels people use for trading.

Reply With Quote
  #4 (permalink)
dynamicsoul
Newcastle, UK
 
Posts: 1 since Nov 2015
Thanks Given: 0
Thanks Received: 0

Do you have, or know of an EA or indicator which places an automatic stop loss and t/p at set levels..?..

I regularly scalp, and would be able to do much better if these were set at an emergency level as soon as the trade is placed. I find it too time consuming to set up orders and adjust in Mt4, when the market is moving fast..

Reply With Quote




Last Updated on November 11, 2015


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts