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 sptrader with 1 posts (0 thanks)
    3. looks_3 Quick Summary with 1 posts (0 thanks)
    4. looks_4 krzysiaczek99 with 1 posts (0 thanks)
    1. trending_up 3,373 views
    2. thumb_up 2 thanks given
    3. group 3 followers
    1. forum 4 posts
    2. attach_file 0 attachments




 
Search this Thread

refresh of indicator from Easy Languge

  #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?
MC PL editor upgrade
MultiCharts
Trade idea based off three indicators.
Traders Hideout
Pivot Indicator like the old SwingTemp by Big Mike
NinjaTrader
How to apply profiles
Traders Hideout
Quant vue
Trading Reviews and Vendors
 
  #3 (permalink)
 ABCTG   is a Vendor
 
Posts: 2,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,628



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 Twitter Reply With Quote
Thanked by:
  #4 (permalink)
 
sptrader's Avatar
 sptrader 
Colorado
 
Experience: Advanced
Platform: MultiCharts
Broker: IB & Iqfeed
Trading: ES , CL
Posts: 535 since Apr 2010
Thanks Given: 1,097
Thanks Received: 701

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,436 since Apr 2013
Thanks Given: 482
Thanks Received: 1,628

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 Twitter Reply With Quote
Thanked by:




Last Updated on November 10, 2013


© 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