Go Back   BabyPips.com Forex Forum > TheRumpledOne


Conversation Between TheRumpledOne and ewokuk
Showing Visitor Messages 1 to 4 of 4
  1. ewokuk
    09-08-2008 10:29 AM - permalink
    ewokuk
    hmmm everything matches up looking at the comments except reward shows 0.0042 but thats ok I think as its just converted 42 into the same format as the current symbol

    i removed the reward section and it works now hmmm, i took the reward shown as 42 to be 42 but i guess its actually 0.0042 thats why it never triggered!
  2. ewokuk
    09-08-2008 07:28 AM - permalink
    ewokuk
    damn my trigger doesnt work. it never triggers, i put this at the bottom of the dowork procedure, i think my logic is right but it never seems to get executed (and ive got this on 10 pairs)

    if((reward>30) && (Open[0]<goLong) && (Close[0]>=goLong) ) Trigger=1;
    if((reward>30) && (Open[0]>goShort) && (Close[0]<=goShort) ) Trigger=2;

    if(Trigger>0)

    play sound etc

    hmmmm
  3. ewokuk
    09-06-2008 02:25 PM - permalink
    ewokuk
    hmmmm good point thanks

    then i have something that can wake me up at the right time. hope it isnt waking me up every 5 mins.
  4. ewokuk
    09-06-2008 10:55 AM - permalink
    ewokuk
    I have been fiddling with your supresHHLL which looks like it may be quite useful. I have been trying to add an alert to it to play a sound when the price crosses the go long or go short lines but havent been able to work out how i could code this. Ive got code for moving average crossovers and various other things but they all look at previous bar vs current bar to see if the cross has been made. In this instance i need to look at the current bar only to see if it crosses the go long line but i cant work out how to do this properly. obviously i can trigger if price equals the line which is easy, but if price should move up 2 pips and jump straight over the line then it will not trigger at all. i believe i can stop it triggering multiple times for the same bar using the code you assisted with before on another indicator so that part shouldnt be a problem.

    Any ideas how i might do it or if its even possible? :P
All times are GMT -4. The time now is 02:54 PM.
Content Relevant URLs by vBSEO 3.3.1
"He who devotes sixteen hours a day to hard study may become at sixty as wise as he thought himself at twenty."
Mary Wilson Little
Feedback Form