Forum

Scrolling Charts

Trying to write a script to scroll a chart continuously. Beginning with a pause of 5 seconds. Not sure if this is the right direction. Could someone tell me if this code is the right way to accomplish this? Thanks! //+------------------------------------------------------------------+ //| Script

Scrolling Multiple Charts

Is there a way to scroll multiple charts, at the same time, from the same point, on each chart? Thanks

Arrow with Text Question

The following code allows you to place an arrow, at a specific candle, at a specific time. I wanted to know if there is a way to display a value, ( text ) above a down arrow and below an up arrow? Which will signify the value at that point. ObjectCreate("UpSymbolAz"+i, OBJ_ARROW , 0

Is there something that I'm doing wrong?

It's been a while since I've been back to coding, but the following code doesn't seem to return the values I'm looking for, just zeros. double vDO=iOpen("NZDUSD",1440,0); // Daily Open double vDC=iClose("NZDUSD",1440,0); // Daily Close Alert("vDO = ",vDO," vDC = ",vDC); No matter where I place the

Period Separator Question

Can anyone show me how to place a VLine at the start of the day, for a specific time. I am on EST and would like to show, on my chart, the start of the day, which is midnight. My chart time is 5 hours ahead of EST. ObjectDelete("DayStart"); ObjectCreate("DayStart", OBJ_VLINE ,0,Time[0],0);

Question about positive and negative numbers

I've been trying to establish the cross above or below zero, on an indicator. I am comparing the value of Bar #2 to Bar #1. Not Bar #0. If Bar#2 0 then cross up. If Bar#2 > 0 and Bar#1 < 0 then cross down. Should be simple. If below 0, number is negative. If above, positive. My problem is, that when

Ask and Bid Question

How do I obtain the Bid and Ask of a specific currency pair on a specific timeframe, so that I can calculate the spread

Has anyone had this happen to them?

Yesterday morning, I was working on a EA, when all of a sudden, the trade that was opened, had a TP, when one wasn't entered. I thought that maybe I had accidently entered one when I was working on the EA. So I deleted it. Later, in the afternoon, I was working on a modified version of the EA I had

Linear Weighted Moving Average

Any no where I can find a Linear Weighted Moving Average? Thanks

Chart Question

Is it possible to find the value of a Ichimoku cloud for a 15 minute timeframe, while on a 1 hour, to display on a 1 hour chart? Thanks