View Single Post
  #14 (permalink)  
Old 10-19-2006, 11:47 PM
coin.inv coin.inv is offline
Freshman
 
Join Date: Sep 2006
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
coin.inv is on a distinguished road
Default

if i have an indicator can i name it like i name a trendline????
(ie when you name a line it creates a #22578)

SetIndexStyle(0,DRAW_LINE,STYLE_SOLID,1);
SetIndexStyle(1,DRAW_LINE,STYLE_SOLID,1);
SetIndexStyle(2,DRAW_LINE,STYLE_SOLID,1);

or

SetIndexDrawBegin(0,draw_begin0);
SetIndexDrawBegin(1,draw_begin0);
SetIndexDrawBegin(2,draw_begin0);

ALSO:

How would i code

if (Alerts)
{
if (!TurnedUp)
{
Alert ("IND XYZ" turned up on ",Symbol(),"-",Period());
PlaySound("alert.wav");
TurnedUp = true;
TurnedDown = false;
}

{
if (!TurnedDown)
{
Alert ("IND XYZ" turned down on ",Symbol(),"-",Period());
PlaySound("timeout.wav");
TurnedDown = true;
TurnedUp = false;

I want it to be changed to:
if previous bar open signal changed from current bar open then alert. This will filter out countless signals.

thank you whoever responds

Last edited by coin.inv : 10-22-2006 at 11:38 PM.
Reply With Quote

Registered members have access to special online forex currency trading tools, software, mt4 expert advisors and indicators. Register now