Can anyone please paste the easylanguage code for the indicator "STRATEGY EQUITY" - futures io
futures io



Can anyone please paste the easylanguage code for the indicator "STRATEGY EQUITY"


Discussion in EasyLanguage Programming

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




Welcome to futures io: the largest futures trading community on the planet, with well over 150,000 members
  • Genuine reviews from real traders, not fake reviews from stealth vendors
  • Quality education from leading professional traders
  • We are a friendly, helpful, and positive community
  • We do not tolerate rude behavior, trolling, or vendors advertising in posts
  • We are here to help, just let us know what you need
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

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

 
Search this Thread
 

Can anyone please paste the easylanguage code for the indicator "STRATEGY EQUITY"

(login for full post details)
  #1 (permalink)
 Sinatra Fan 
Orlando FL
 
Experience: Intermediate
Platform: MultiCharts, Ninja
Trading: Emini ES
 
Sinatra Fan's Avatar
 
Posts: 59 since May 2019
Thanks: 7 given, 9 received

was reading in the EL essentials programmers guide about an indicator "Strategy Equity"

Can anyone please paste the code for this indicator? It is not in the MC library. Thanks

Started this thread Reply With Quote

Can you help answer these questions
from other members on futures io?
Book for fundamental analysis
Stocks and ETFs
[helpdcan tradestation copy trades to Eightcap MT4 & MT5
TradeStation
Anyone ever use "Seasonax" website?
Trading Reviews and Vendors
How to obtain the day of year and the week of year in Ea …
EasyLanguage Programming
Market on Close data within IB
Platforms and Indicators
 
Best Threads (Most Thanked)
in the last 7 days on futures io
Is anyone actually making money?
52 thanks
An embarrassing, honest confession
40 thanks
Sierra vs. Ninja : why I chose .....
9 thanks
Rithmic vs Denali - Market Depth Difference
6 thanks
Demo accounts order fill
6 thanks
 
(login for full post details)
  #2 (permalink)
 FuManChou 
Saint Paul, Minnesota, United States
 
Experience: Beginner
Platform: MultiCharts
Broker: Edge Clear
Trading: Micros
 
FuManChou's Avatar
 
Posts: 98 since Jun 2019
Thanks: 1,115 given, 115 received

This is from TradeStation. You will have to compile it in MC.

Moderators. If this is not allowed, please remove it.



inputs:
int PositiveClosedEquityColor( UpColorDefault ) [
DisplayName = "PositiveClosedEquityColor",
ToolTip = "Enter the color to use when the closed equity is greater than zero."],

int PositiveOpenEquityColor( UpColorDefault ) [
DisplayName = "PositiveOpenEquityColor",
ToolTip = "Enter the color to use when the open equity is greater than zero."],

int NegativeClosedEquityColor( DownColorDefault ) [
DisplayName = "NegativeClosedEquityColor",
ToolTip = "Enter the color to use when the closed equity is less than or equal to zero."],

int NegativeOpenEquityColor( DownColorDefault ) [
DisplayName = "NegativeOpenEquityColor",
ToolTip = "Enter the color to use when the open equity is less than or equal to zero."];

variables:
double OpenEquity( 0 ),
double ClosedEquity( 0 );

OpenEquity = I_OpenEquity;
ClosedEquity = I_ClosedEquity;

Plot1( OpenEquity, !( "OpenEquity" ), IFF( OpenEquity > 0,
PositiveOpenEquityColor, NegativeOpenEquityColor) );

Plot2( ClosedEquity, !( "ClosedEquity" ), IFF( ClosedEquity > 0,
PositiveClosedEquityColor, NegativeClosedEquityColor) );

Plot3( 0, !( "ZeroLine" ) );

{
set "connector" color (color plotted from the prior bar to the current bar) for
cases where open equity crosses zero or goes from zero to a non-zero value; the
connector color will be determined by the current bar open equity value
}
if OpenEquity[1] <= 0 and OpenEquity > 0 then
SetPlotColor[1]( 1, PositiveOpenEquityColor )
else if OpenEquity[1] >= 0 and OpenEquity < 0 then
SetPlotColor[1]( 1, NegativeOpenEquityColor );

Reply With Quote
 
(login for full post details)
  #3 (permalink)
swingbatter
Arlington
 
 
Posts: 18 since Feb 2020
Thanks: 6 given, 2 received



Sinatra Fan View Post
was reading in the EL essentials programmers guide about an indicator "Strategy Equity"

Can anyone please paste the code for this indicator? It is not in the MC library. Thanks

You should be able to find it 2 ways: Tradestation Development Environment > Open > Indicator > Strategy Equity
or, on a chart, Studies > Add Studies > Indicator > Strategy Equity > Edit EasyLanguage

Reply With Quote


futures io Trading Community Platforms and Indicators EasyLanguage Programming > Can anyone please paste the easylanguage code for the indicator "STRATEGY EQUITY"


Last Updated on March 25, 2021


Upcoming Webinars and Events
 

NinjaTrader Indicator Challenge!

Ongoing
     



Copyright © 2023 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada), 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