Is there an efs file that labes hi/lo lines for the current session and H/L/C for previous day? If not, how is the best way to do this so that the current session lines are dynamic and the price label is at 0 relative to the current bar? TIA
Announcement
Collapse
No announcement yet.
Labeling Hi/Lo lines
Collapse
X
-
Hello Mikem144,
By right clicking on the Advanced Chart, you are able to access some of the pre-built EFS studies that have been included into eSignal. Under the OHLC menu of the Formulas folder, you should be able to find an EFS or two that will accomplish your goal. Included is a screenshot that illustrates some of the studies that available to choose from. Hope this helps.
-
Duane,
Thanks for the response. Actually, I've found the pivotconsole.efs to work well. I also edited Today's Hi and Today's Lo files to label the price similar to the Pivot Console. One thing, though, the labels are in a static place--to the right of the last price bar. Is there any way to have the labels move with the window, so that if I scroll back they remain visible? TIA
Mikem144
Comment
-
Mikem144
The only way that I know of is to use drawTextPixel() which writes text to a specific part of the chart. Try the enclosed example and you should see the text remain in place while you scroll the chart.
For more information on drawTextPixel() see this article in the EFS KnowledgeBase
Alex
PHP Code:function preMain() {
setPriceStudy(true);
setShowCursorLabel(false);
}
function main() {
drawTextPixel(250,0,"This text stays in the same place when scrolling",Color.blue,null,Text.RIGHT|
Text.BOLD|Text.RELATIVETOTOP|Text.RELATIVETOLEFT,"Arial",10,"test");
return;
}
Comment
Comment