MultiCharts - Bar at special time
futures io futures trading


Categories Help    

MultiCharts
MultiCharts Downloads / MultiCharts Indicators

Share MultiCharts indicators, EasyLanguage indicators.


Entries
Bar at special time
Hi community,
if I trade the ES- or ESTX50-Future I need the close of the previous cash-session to visualize the opening gap.Also as an additional S/R-line for the Future trading.
You can use the "Bar at special time"-Indicator for indicating the Open,High,Low or Close of a time(Zeit)-specified bar of each day.

inputs:
Zeit = closing-time of the bar you want to see
Wert = O , H , L , C or any formula e.g. ((H-L)/2)

It dont work if you use for e.G. Zeit = 1730 on a 1 hour chart.
You have to choose the chartresolution depending on the bar you want to get the data.
If you want to get the data of Zeit = 1732 you need a 2-minute chart or lower, if Zeit = 2215 (close of S&P-cash) you can put it at a 15-min-chart as highest resolution.

the code as txt-file:

//**********
Inputs: Zeit( 1730 ),
Wert( close );
variables: var0(0);
if (time =Zeit ) then var0=Wert else var0=var0[1];

plot1(var0);

//**********

aiti


Category MultiCharts 
 
Suggest other entries I might like
Details: Bar at special time
Category: MultiCharts 


January 11th, 2012
Size: 1.54 KB
Downloaded: 180 times
 

 
Category
 



Copyright © 2021 by futures io, s.a., Av Ricardo J. Alfaro, Century Tower, Panama, +507 833-9432, info@futures.io
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.