NexusFi: Find Your Edge


Home Menu

 





refresh of indicator from Easy Languge


Discussion in EasyLanguage Programming

Updated
      Top Posters
    1. looks_one ABCTG with 2 posts (2 thanks)
    2. looks_two Quick Summary with 1 posts (0 thanks)
    3. looks_3 krzysiaczek99 with 1 posts (0 thanks)
    4. looks_4 sptrader with 1 posts (0 thanks)
    1. trending_up 4,017 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread
  #1 (permalink)
krzysiaczek99
stockholm sweden
 
Posts: 9 since Sep 2012
Thanks Given: 1
Thanks Received: 2

Is it possible to recalculate/refresh indicator with EL statement while MC works offline ???

I have following problem:

I'm reading raw data using ELcollection. Data has no time stamps but last bar of this data is in sync of last bar of symbol data in MC and i want simply plot my new data in sync with MC symbol data.

So in order to sync my new data with symbol i need to find the value of start index in my data and simple plot it.
For this i need to know the CurrentBar value at the end of the chart.

But this value is only obtainable after indicator calculation so i don't have to chance to plot it anymore.

Any idea how to overcome this ??

Krzysztof


Reply With Quote

Can you help answer these questions
from other members on NexusFi?
Ceasefire Collapse: Iran Fires 24 Missiles, Israel Hits …
Traders Hideout
June 15 Peace Odds Surge From 3.6% to 12.25% After Trump …
Prediction Markets & Event Contracts
Six Days to Kickoff: World Cup Prediction Markets Hit $1 …
Prediction Markets & Event Contracts
April 2026 Jobs Report: +115k vs +65k Expected
Traders Hideout
UMA Votes Tonight: Polymarkets $80M Strategy Bitcoin Bat …
Prediction Markets & Event Contracts
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
NexusFi site changelog and issues/problem reporting
15 thanks
Darmok and Jalad at Tanagra
3 thanks
Big Mike in Ecuador
1 thanks
30 Sessions
1 thanks
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643



krzysiaczek99 View Post
Is it possible to recalculate/refresh indicator with EL statement while MC works offline ???

Yes, you can do this with RecalcLastBarAfter. With this reserved word you can force the calculation of a study every fixed time interval without the need of a new tick.

Regards,
ABCTG


Follow me on X Reply With Quote
Thanked by:
  #4 (permalink)
 
sptrader's Avatar
 sptrader 
Colorado
Market Wizard
 
Experience: Advanced
Platform: MultiCharts
Broker: IB & Iqfeed
Trading: ES , CL
Posts: 535 since Apr 2010
Thanks Given: 1,097
Thanks Received: 702

I have a similar question- is it possible to turn a study "status" off and on in RT using easylanguage ?


Reply With Quote
  #5 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,448 since Apr 2013
Thanks Given: 494
Thanks Received: 1,643

sptrader,
to my knowledge you can't currently do that directly. Switching a study off could be done with RaiseRunTimeError, but there is no chance to get it back on again from code then.
The only chance you have in my opinion would be "allowing" and "disallowing" a study calculation using either code within the original study or coming from a second study with ELCollections or Global Variables.

Regards,
ABCTG



sptrader View Post
I have a similar question- is it possible to turn a study "status" off and on in RT using easylanguage ?


Follow me on X Reply With Quote
Thanked by:




Last Updated on November 10, 2013


© 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