Any help would be much appreciated !
Thanks
|
I am pretty bad with coding pthegreat so I apologize ahead of time.
How could I use your above coding to add my basic coding example?
I am running only daily carts and would want theAlert to trigger only once a day and have that info added to the stockFinderApp.log
If isLastBar Then
If (Price.close(0) - Price.Close(1)) / Price.Close(1) > .02 Then
'showmessage("test")
LokiStatic.PlaySound("c:\windows\media\notify.wav")
Me.log.info("Alert passed on " & Me.currentsymbol & " with a price of" & price.close)
pass
End If
End If
|
After copying your file and then customizing it to meet my needs, the Alert works!
Thanks for your help and I will look at your other posts for how to limit the looping of the alert.
Thanks for replying and providing your other resources.
Much appreciated.
|
Reading through some old posts I have been unable to get the alert function to work.
Here is the test code I have made just to see if I can get the Alert file to play on a watchlist.
The below condition has been placed as a watchlist column and then scanned.
Any ideas as to what may be wrong?
===============================
If Me.isLastBar AndAlso (Price.close(0) - Price.Close(1)) / Price.Close(1) > .02 Then
pass
LokiStatic.PlaySound("c:\Alarm1.wav")
End If
===============================
|
Switching the order in the backscanner worked!
As always, thank you for you support and I appreciate how quickly you repsond to questions.
-Cortner
|
When running backscanner with a Trade-Based Rule to Exit all 'X' Bars from now...
The results do not come out correctly if my Buy condition hits more than once before the Trade-Based exit rule occurs. When this happens it resets the Trade-Based Exit rule and results with some of my backscanner trades lasting much longer than the desired exit time and skewing my overall scan results.
How can I prevent this from happening?
Thanks,
Cortner
|
I am sure this question has been asked before but I could not locate a thread.
Can either TC2000 or StockFinder pull historical intra-day (say 30min. interval) charts that go back a few years? I currently use stockfinder and can only seem to pull intra-day 30min data for the last 3 market days or so.
Thanks,
Cortner
|
The link to the "your first 3 block diagram" doesn't seem to be working.
I am trying to set this up but I am not sure what you mean by Left-click and drag on the input to the Numeric Plot Block and choose Select Block & Connect.
what' the input?
I am hoping the video will help explain.
Thanks,
Greg
|
If I have two indicators saved in my library that I wanted to run correlation and r2 on. How would I go about doing this in realcode?
Thanks,
Greg
|