Announcement

Collapse
No announcement yet.

Alarm EFS for 3PB/3LB chart type

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Alarm EFS for 3PB/3LB chart type

    Could somebody please refer me to where I could find an efs that would give me an alarm whenever there is a color(direction) change in a 3PB/3LB type chart in all time frames the efs is used?

    Thanks

    PBC

  • #2
    PBC
    Try the enclosed script
    Alex

    PHP Code:
    function preMain(){

        
    setPriceStudy(true);
        
    setShowCursorLabel(false);

    }
    function 
    main(){

        if(
    getBarState()==BARSTATE_NEWBAR){ 
            if(
    close(-1)<close(-2)&&close()>close(-1)){
                
    Alert.playSound("ding.wav");
            }
            if(
    close(-1)>close(-2)&&close()<close(-1)){
                
    Alert.playSound("ding.wav");
            }
        }
        return;

    Comment

    Working...
    X