NexusFi: Find Your Edge


Home Menu

 





questions about limitations and shortcomings of easylanguage strategies


Discussion in EasyLanguage Programming

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




 
Search this Thread
  #1 (permalink)
maggtrading
quintana roo, méxico
 
Posts: 84 since Mar 2013
Thanks Given: 222
Thanks Received: 40

hello everyone,


i understand easylanguage automated strategies are very elementary and limited, but i might be wrong. it would be great if advanced easylanguage programmers could help me answer some questions i have, that's why i start by calling the people of @MultiCharts to this thread.



i am under the impression it is not possible for easylanguage automated strategies to manage multiple positions for the same instrument in the same direction separately, is that right? could an easylanguage automated strategy open several positions in the same direction at different points in time and manage each one independently of the others? can an elas (acronym i'll use in place of easylanguage automated strategy), calculate each position's profit or loss and its entry price independently of the others? i understand that at least for tradestation, when trading manually if you open several positions in the same direction, the positions will always be closed in the same order they were opened in, is there a way to make elas that overcome this limitation? also, could it be possible for an elas to know how many positions it has opened that have been filled and the entry prices for each one? (thinking that the strategy could open let's say up to 3 positions in the same direction at different points in time as long as the trend hasn't been reversed, can the strategy know if it is holding 0, 1, 2 or 3 contracts and their respective entries?)


is it possible for someone to create their own version of a trailing stop? i would like to have a trailing stop that didn't chase price so tightly. this strategy would operate after the long entry order has been sent and filled, and it would set a stop loss order 8 ticks below my entry price. then, if price moves in my favor and is 10 or more ticks above my entry price, the stop loss order would be moved to my entry price so that it becomes a break even stop. if price continues to move in my favor and now is 20 or more ticks above my entry price, the break even order would be moved to my entry price + 10 ticks and stay there. as far as i know, there's no way to put this strategy into easylanguage code, is there?


also, is it possible to have a strategy that closed all positions exactly at a specified time of the day, every day? but most importantly, having this closing time order execute every day even when executing this strategy on a chart with bars that won't necessarily coincide with the exact time to close everything (range, kase or large minute bars)? let's say i want the strategy to close all positions at exactly 14:40 edt even if i'm using a range / kase chart.




very well, thanks to everyone, regards.


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Building models w/Neuroshell and Adaptatrade
Platforms and Indicators
Calculate EMA if candles are missing
Stocks and ETFs
Historical Price History?
Elite Algorithmic NinjaTrader Trading
Split Session Asia/London/US with lines extending
Sierra Chart
Using multiple Versions of the same DLL in MC.Net
MultiCharts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Machine Learning Journal
50 thanks
NexusFi site changelog and issues/problem reporting
7 thanks
Demark Indicator
5 thanks
Daytrading ES & NQ
2 thanks
Blackgrey45 Journal
2 thanks
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,447 since Apr 2013
Thanks Given: 493
Thanks Received: 1,639


maggtrading,

as far as I am aware @MultiCharts doesn't monitor this forum anymore (or not very frequent). Therefore you will most
likely be able to get a quicker reply from them in the official forum.

Regards,

ABCTG


Follow me on X Reply With Quote
  #4 (permalink)
maggtrading
quintana roo, méxico
 
Posts: 84 since Mar 2013
Thanks Given: 222
Thanks Received: 40

thanks. i didn't even know about the existence of that multicharts dedicated forum, if they do support programming inquiries there i will make sure to ask for assistance there.


Reply With Quote




Last Updated on August 15, 2016


© 2025 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 - Downloads - Top
no new posts