PureBytes Links
Trading Reference Links
|
let me rephrase and i do not mean this in a negative way..i cannot believe that omega easylanguage allows you to set a flag depending on a indicator criteria to alert you of the position and then not give you the capability to turn the alert off until it becomes true again...ie..on a 5 min chart..a 20/50 bma crossover..20 crosses 50 upward...alert goes of...then turn alert to false..next bar 20 is still above 50...no alert...next bar...the same..and so and so on until 20 crosses below 50 and reverses again...then crosses...new alert....maybe i worded this incorrectly the first time i wrote on the matter....apparently the alert is set to false when the code on an indicator begins its execution and on every bar checks to see "IF" the condition is true...so on most bars the condition will be false and the alert never goes off...so every bar the indicator go through the EL code and checks all the IF statements...so if an IF statements becomes true then the alert flag is set to true to allow to branch in the code...but you would think you would be able to turn the alert flag back to false...and that's all I want to do
At 04:53 PM 1/23/98 -1000, you wrote: >Jim wrote: > >> Thanks you for the prompt response, but I have already looked into the >> update every tick option and it does not help me. If possible, could >> you comment on the coding I mentioned Because I think a simple option >> like what I want to do should be present in easylanguage and I should >> not have rely on a third party to provide me that option. Thank you >> again, I really appreciate the help... >> >> At 03:22 PM 1/16/98 -1000, you wrote: >> >> There was a previous message about setting resetting an alert so >> that >> >> it would update after every bar. The coding said to add the line >> >> alrtflg=false after the line alert=true. I tried that this week and >> it >> > >> >> seem it disabled my alert triggers and I did not get any alerts >> after >> >> the first alert. Could somebody please verfy if I am doing this >> >> correct. This are the lines I added in my coding... >> >> If Checkalert then alert = true >> >> alert = false >> > >> >If you want the alert to play on every tick of a bar, goto the >> indicator >> > >> >properties and check "Update every tick" >> > >> >If you want the alert to only play once per bar (indicator will also >> >only update once per bar), goto the indicator properties and uncheck >> >"Update every tick" >> > > >If this is what you want to do: > >> >If you want the indicator to update every tick, but you only want the >> >> >alert to play once per bar then you'll need HashNums or GlobPro >> >available from http://www.investlabs.com. >> > > >The only way we know to accomplish the above is using an add-on product. >It cannot be done without it. > >> >-- >> >--------------------- Doug Deming, IEC -------------------- >> >Investment Engineering, Corp.-Omega Research "Solution Provider" >> > * * * Visit our Investment Labs online! * * * >> >WWW Site: http://www.InvestLabs.com PHONE: (808)875-4558 >> >Email: doug@xxxxxxxxxxxxxxxxxxx FAX: (808)276-4557 >> >----------------------------------------------------------- >> > >> > >> > >> >> >> >> >> >> >> ********************************************** > > > >-- >--------------------- Doug Deming, IEC -------------------- >Investment Engineering, Corp.-Omega Research "Solution Provider" > * * * Visit our Investment Labs online! * * * >WWW Site: http://www.InvestLabs.com PHONE: (808)875-4558 >Email: doug@xxxxxxxxxxxxxxxxxxx FAX: (808)276-4557 >----------------------------------------------------------- > > >
********************************************* Have a nice Day Jim Kerwin Atlanta,Georgia **********************************************
|