NexusFi: Find Your Edge


Home Menu

 





How to add SLEEP timer


Discussion in MultiCharts

Updated
      Top Posters
    1. looks_one ABCTG with 1 posts (1 thanks)
    2. looks_two tajhaslani with 1 posts (0 thanks)
    3. looks_3 spiral2001 with 1 posts (0 thanks)
    4. looks_4 syswizard with 1 posts (0 thanks)
    1. trending_up 2,136 views
    2. thumb_up 1 thanks given
    3. group 4 followers
    1. forum 3 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
 tajhaslani 
New York, NY
 
Experience: Beginner
Platform: Multicharts
Trading: Futures
Posts: 3 since Jul 2022
Thanks Given: 1
Thanks Received: 0

Hi,
I want to add some SLEEP time after oen trade is executed in EasyLanguage.
How can I do this in EL for Multicharts?

Thanks in advance.

Taj


Started this thread Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Rubios Good News Within Hours and the 30-Day Math: Why H …
Prediction Markets & Event Contracts
CFTC Rewrites the Rulebook -- Kalshi Cracks $1B Non-Spor …
Prediction Markets & Event Contracts
Sundays Verdict: Lebanon Locked at 99.85% as Iran June 7 …
Prediction Markets & Event Contracts
Iran and Israel Stand Down: What $9M in Peace Contracts …
Prediction Markets & Event Contracts
Iran War Prediction Markets: Ceasefire 16%, Ground Invas …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
The Pivot Point 113.6³ — Navigating the Prediction of …
26 thanks
Sober Journey With S&P
17 thanks
The Confluence Meter: A Multi-Layered Signal Framework B …
11 thanks
NT8 color choices
10 thanks
Volume Indicators
7 thanks
  #2 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,447 since Apr 2013
Thanks Given: 493
Thanks Received: 1,639

tajhaslani,

PowerLanguage does not have a built-in sleep timer. For realtime use you could store the computer time at entry and perform other calculations X seconds later.

Regards,

ABCTG



tajhaslani View Post
Hi,
I want to add some SLEEP time after oen trade is executed in EasyLanguage.
How can I do this in EL for Multicharts?

Thanks in advance.

Taj


Follow me on X Reply With Quote
Thanked by:
  #3 (permalink)
spiral2001
vancouver
 
Posts: 2 since Jan 2011
Thanks Given: 0
Thanks Received: 0


Don't bother, We've tried the VC++ Sleep API and it didn't work as expected. MC depends on its own timer and Sleep API doesn't work with it.


Reply With Quote
  #4 (permalink)
 
syswizard's Avatar
 syswizard 
Philadelphia PA
 
Experience: Advanced
Platform: Multicharts
Broker: Ironbeam, Rithmic
Trading: Emini ES / NQ / CL / RTY / YM / BTC
Posts: 344 since Jan 2019
Thanks Given: 20
Thanks Received: 146


tajhaslani View Post
Hi,
I want to add some SLEEP time after one trade is executed in EasyLanguage.
How can I do this in EL for Multicharts?

You can use BarsSinceEntry() and BarsSinceExit() to delay order execution.
Granted, this is not perfect....especially when using Range or Tick bars instead of time bars.


Reply With Quote




Last Updated on September 24, 2022


© 2026 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