GetRTAccountEquity - EasyLanguage, MultiCharts, Daily Account P&L
futures io futures trading


GetRTAccountEquity - EasyLanguage, MultiCharts, Daily Account P&L
Updated: Views / Replies:92 / 0
Created: by bruiser Attachments:0

Welcome to futures io.

(If you already have an account, login at the top of the page)

futures io is the largest futures trading community on the planet, with over 100,000 members. At futures io, our goal has always been and always will be to create a friendly, positive, forward-thinking community where members can openly share and discuss everything the world of trading has to offer. The community is one of the friendliest you will find on any subject, with members going out of their way to help others. Some of the primary differences between futures io and other trading sites revolve around the standards of our community. Those standards include a code of conduct for our members, as well as extremely high standards that govern which partners we do business with, and which products or services we recommend to our members.

At futures io, our focus is on quality education. No hype, gimmicks, or secret sauce. The truth is: trading is hard. To succeed, you need to surround yourself with the right support system, educational content, and trading mentors Ė all of which you can find on futures io, utilizing our social trading environment.

With futures io, you can find honest trading reviews on brokers, trading rooms, indicator packages, trading strategies, and much more. Our trading review process is highly moderated to ensure that only genuine users are allowed, so you donít need to worry about fake reviews.

We are fundamentally different than most other trading sites:
  • We are here to help. Just let us know what you need.
  • We work extremely hard to keep things positive in our community.
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts.
  • We firmly believe in and encourage sharing. The holy grail is within you, we can help you find it.
  • We expect our members to participate and become a part of the community. Help yourself by helping others.

You'll need to register in order to view the content of the threads and start contributing to our community.  It's free and simple.

-- Big Mike, Site Administrator

Reply
 
Thread Tools Search this Thread
 

GetRTAccountEquity - EasyLanguage, MultiCharts, Daily Account P&L

  #1 (permalink)
Burbank + California/ USA
 
 
Posts: 4 since Mar 2020
Thanks: 0 given, 0 received

GetRTAccountEquity - EasyLanguage, MultiCharts, Daily Account P&L

Hello,

I'm using a daily profit target / daily loss method whereby the strategy will stop trading once either threshold has been hit.

This works fine within the individual strategy, for example if I want to set it to a $300 profit target, it will take trades until it has made $300 and then it will not take any further trades until the next day. Same for the daily loss side.

However, the challenge I am running into is that I would like to set this same type of parameters on the "account" level rather than within each individual strategy. Specific reason being that I am trading more than one market, and the current code looks at each individual market that the code is active on and makes the trade or no trade decision based on the P&L for that particular market. Instead of looking to see what the "overall" profit / loss has been for the account which would include all of the active strategies running.

For example, if I wanted to set a $500 daily profit target for the account...and if I was trading 5 markets, I want to be able to have all of the trades stop for the rest of the day once a total of $500 has been made on the account (all markets active included). Doesn't matter if all the trades came from one market or two, etc. Just check to see if we have hit the overall daily goal and then determine if it can take a new trade or if its done for the day and apply to all active markets.

Looking for some help on an easylanguage coding spot where I am stuck.

I am assuming the GetRTAccountEquity would be the way to go about this and insert code into each of the markets to check before entering a trade. But, having some challenges with this part.

Here is the portion of the code that I am using which works on the individual market:

Variables:
DailyProfit (0),
DailyLoss (0),
YesterdayNet (0),
TodayNet (0),
DayPL (False);


If date <> date[1] then begin
YesterdayNet = NetProfit ;
End;

If MP = 0 Then Begin
TodayNet = NetProfit - YesterdayNet;
End;

If -DailyLoss < TodayNet And TodayNet < DailyProfit Then
DayPL = True
Else DayPL = False;

Would gratefully appreciate any help on converting this to look at the markets combined and account P&L vs each individual market traded.

Thank you in advance for your assistance.

Reply With Quote

Reply



futures io Trading Community Platforms and Indicators MultiCharts > GetRTAccountEquity - EasyLanguage, MultiCharts, Daily Account P&L

Thread Tools Search this Thread
Search this Thread:

Advanced Search



Upcoming Webinars and Events (4:30PM ET unless noted)
 

futures io is celebrating 10-years w/ over $18,000 in prizes!

Right now
 

$250 Amazon Gift Cards with our "Thanks Contest" challenge!

Right now
     

Similar Threads
Thread Thread Starter Forum Replies Last Post
EasyLanguage Daily Profit and Daily Loss limit in strategy Big Mike EasyLanguage Programming 24 March 6th, 2020 04:30 PM
Multicharts + Interactive Brokers + Friends & Family account = FAIL nivi MultiCharts 13 November 3rd, 2017 07:25 AM
MultiCharts/EasyLanguage vs MultiCharts.NET? BookemDanno MultiCharts 2 July 24th, 2017 11:07 AM
GetRTAccountEquity Problem no erocla MultiCharts 7 April 4th, 2014 01:09 PM
MultiCharts, MultiCharts, MultiCharts... Big Mike MultiCharts 827 July 24th, 2011 08:44 AM


All times are GMT -4. The time now is 08:37 AM. (this page content is cached, log in for real-time version)

Copyright © 2020 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.
no new posts