NexusFi: Find Your Edge


Home Menu

 





How to verify dont buy/sell if there is already any trade in progress?


Discussion in EasyLanguage Programming

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




 
Search this Thread

How to verify dont buy/sell if there is already any trade in progress?

  #1 (permalink)
chenrvn
Schumburg
 
Posts: 7 since May 2019
Thanks Given: 2
Thanks Received: 0

Hey All,

How i can check in EL, that my strategy dosnt start buy or sell if there is already open trade that make before and still in progress?

- is there any function for that?
- can someone please wrote it here?

Thanks,
Chen.R

Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Strategy stop orders partially filled
EasyLanguage Programming
ZombieSqueeze
Platforms and Indicators
MC PL editor upgrade
MultiCharts
Footprint for strategy Builder
NinjaTrader
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Funded Trader platforms
32 thanks
Just another trading journal: PA, Wyckoff & Trends
23 thanks
Trading with Intuition
17 thanks
Self sabotage reframed
14 thanks
GFIs1 1 DAX trade per day journal
9 thanks
  #3 (permalink)
 SidewalkAerobics 
Los Angels
 
Experience: Intermediate
Platform: MultiChart
Trading: Emini ES
Posts: 115 since Aug 2018
Thanks Given: 173
Thanks Received: 71



chenrvn View Post
How i can check in EL, that my strategy dosnt start buy or sell if there is already open trade that make before and still in progress?

marketposition(0)=0

Hope that helps. Happy trading.

Reply With Quote
  #4 (permalink)
chenrvn
Schumburg
 
Posts: 7 since May 2019
Thanks Given: 2
Thanks Received: 0


SidewalkAerobics View Post
marketposition(0)=0

Hope that helps. Happy trading.


Thanks!

1. i -play it a little bit and it seems to work as expected
2. i see also this article, that can help:
h-t-t-p://georgepruitt.com/tag/easylanguage-code/]EasyLanguage Code Archives - George Pruitt


Reply With Quote




Last Updated on May 6, 2019


© 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