"The question of whether a computer can think is no more interesting than the question of whether a submarine can swim."Edsgar W. Dijkstra
MS: 6.52 EOD, 7.x EOD, 8.0 PRO, 9.2 PRO w/QC, 10 PRO w/QC C, 11 PRO w/QC & MDKFor custom MetaStock programming : http://www.wabbit.com.auMy SkyPE status : My SkyPE account : wabbit.com.au
aa:=barssince(dayofmonth()=0);
bb:=if(max(aa,aa)<=30,ind1,0);
cc:=if(max(aa,aa)>30,ind2,0);
bb+cc;
but the code above does not seems to plot rite
Flexi:Have this indicator that plot 1 or 0. But now want the indicator to plot 0 (even there is a signal) whenever the month is > 30 days. The indicator is not base on calendar month. In other word only wan the indicator to plot signal in month <= 30 days and ignore months > 30 days. Possible?