[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MMStop question



PureBytes Links

Trading Reference Links

Hi foolsgold,

f> if MMStop = true then begin
f> LngMMS = (I_AvgEntryPrice-MMStp);
f> ShtMMS = (I_AvgEntryPrice+MMStp);
f> if I_marketposition =1 then begin
f>         plot1(LngMMS,"LngMMStop");
f> end;
f> if I_marketposition =-1 then begin
f>         plot2(ShtMMS,"ShtMMStop");
f> end;
f> end;

f> I was wondering if my MMStop could be adapted to use only one plot, but
f> I can't figure it out.

   Since   your  I_marketposition  conditions  are  mutually
   exclusive,  you  can  make  both  of those share Plot1;
   however, you'll have to make the plot name common.

e.g.

If I_marketposition=1 then Plot1(LngMMS,"MMStop");
If I_marketposition=-1 then Plot1(ShtMMS,"MMStop");

   

-- 
Dave Nadeau
Fort Collins, CO