i am looking at using the heiken ashi indicator but my programming is missing the mark a bit...
basically id like to execute an order if the last bar was green
i tried this but it didnt work
if (HeikenAshiCustom().HAOpen[0] < HeikenAshiCustom().HAClose[0])
{
do something
}
maybe you can use a bar colour property but i tried to just do open greater than but didnt execute the "do something"
any help would be greatly appreciated
Thanks in advance
Arun



Comment