Search found 3 matches

by dunadan
22 Apr 2021
Forum: MultiCharts
Topic: My newbie question about >= and >
Replies: 4
Views: 722

Re: My newbie question about >= and >

Actually, looking at my results again, I *think* what might be happenning is that what I see in the Data Window is a "rounded up" or rounded down number limited out to only 2 decimal places, while the signal is NOT rounding up or rounding down the number (even though the Data Window IS rounding the ...
by dunadan
22 Apr 2021
Forum: MultiCharts
Topic: My newbie question about >= and >
Replies: 4
Views: 722

Re: My newbie question about >= and >

I don't know what's wrong with my entries. Inputs: EMA_Price ( Close ), EMA_Length (30 ); Variables: linRegValue ( 0 ), emaValue ( 0 ); if BarStatus( 1 ) = 2 then begin emaValue = XAverage( EMA_Price, EMA_Length ) ; end ; begin if emaValue[0] > emaValue[1] then Buy next bar market; end ;
by dunadan
22 Apr 2021
Forum: MultiCharts
Topic: My newbie question about >= and >
Replies: 4
Views: 722

My newbie question about >= and >

I have 2 newbie questions: 1. Working on my code, if I want to signal an order entry, (for example) if I wanted to trigger an order when the value for the 50-bar EMA is greater than the EMA_value was 1 bar ago, then I'm thinking that my code would be... If EMA_value[0] > EMA_value[1] then.... (trigg...

Go to advanced search